Class RequiredActionsTrait
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTrait
-
- software.amazon.smithy.model.traits.StringListTrait
-
- software.amazon.smithy.aws.iam.traits.RequiredActionsTrait
-
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToShapeId
,Trait
,ToSmithyBuilder<RequiredActionsTrait>
public final class RequiredActionsTrait extends StringListTrait implements ToSmithyBuilder<RequiredActionsTrait>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequiredActionsTrait.Builder
static class
RequiredActionsTrait.Provider
-
Nested classes/interfaces inherited from class software.amazon.smithy.model.traits.StringListTrait
StringListTrait.StringListTraitConstructor<T extends StringListTrait>
-
-
Constructor Summary
Constructors Constructor Description RequiredActionsTrait(java.util.List<java.lang.String> actions)
RequiredActionsTrait(java.util.List<java.lang.String> actions, FromSourceLocation sourceLocation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequiredActionsTrait.Builder
builder()
RequiredActionsTrait.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, toNode, toShapeId, toString
-
-
-
-
Field Detail
-
ID
public static final ShapeId ID
-
-
Constructor Detail
-
RequiredActionsTrait
public RequiredActionsTrait(java.util.List<java.lang.String> actions, FromSourceLocation sourceLocation)
-
RequiredActionsTrait
public RequiredActionsTrait(java.util.List<java.lang.String> actions)
-
-
Method Detail
-
builder
public static RequiredActionsTrait.Builder builder()
-
toBuilder
public RequiredActionsTrait.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<RequiredActionsTrait>
- Returns:
- a builder for type T
-
-