Class ConditionKeysTrait
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTrait
-
- software.amazon.smithy.model.traits.StringListTrait
-
- software.amazon.smithy.aws.iam.traits.ConditionKeysTrait
-
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToShapeId
,Trait
,ToSmithyBuilder<ConditionKeysTrait>
public final class ConditionKeysTrait extends StringListTrait implements ToSmithyBuilder<ConditionKeysTrait>
Applies condition keys to an operation or resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConditionKeysTrait.Builder
static class
ConditionKeysTrait.Provider
-
Nested classes/interfaces inherited from class software.amazon.smithy.model.traits.StringListTrait
StringListTrait.StringListTraitConstructor<T extends StringListTrait>
-
-
Constructor Summary
Constructors Constructor Description ConditionKeysTrait(java.util.List<java.lang.String> keys)
ConditionKeysTrait(java.util.List<java.lang.String> keys, FromSourceLocation sourceLocation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConditionKeysTrait.Builder
builder()
ConditionKeysTrait.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.-
Methods inherited from class software.amazon.smithy.model.traits.StringListTrait
createNode, getValues
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTrait
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
-
-
-
Field Detail
-
ID
public static final ShapeId ID
-
-
Constructor Detail
-
ConditionKeysTrait
public ConditionKeysTrait(java.util.List<java.lang.String> keys, FromSourceLocation sourceLocation)
-
ConditionKeysTrait
public ConditionKeysTrait(java.util.List<java.lang.String> keys)
-
-
Method Detail
-
builder
public static ConditionKeysTrait.Builder builder()
-
toBuilder
public ConditionKeysTrait.Builder toBuilder()
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<ConditionKeysTrait>
- Returns:
- a builder for type T
-
-