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>
@Deprecated public final class RequiredActionsTrait extends StringListTrait implements ToSmithyBuilder<RequiredActionsTrait>
Deprecated.As of release 1.44.0, replaced byIamActionTrait.resolveRequiredActions(software.amazon.smithy.model.shapes.OperationShape)
.Use the@iamAction
trait'srequiredActions
property instead.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequiredActionsTrait.Builder
Deprecated.static class
RequiredActionsTrait.Provider
Deprecated.-
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)
Deprecated.RequiredActionsTrait(java.util.List<java.lang.String> actions, FromSourceLocation sourceLocation)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RequiredActionsTrait.Builder
builder()
Deprecated.RequiredActionsTrait.Builder
toBuilder()
Deprecated.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
Deprecated.
-
-
Constructor Detail
-
RequiredActionsTrait
public RequiredActionsTrait(java.util.List<java.lang.String> actions, FromSourceLocation sourceLocation)
Deprecated.
-
RequiredActionsTrait
public RequiredActionsTrait(java.util.List<java.lang.String> actions)
Deprecated.
-
-
Method Detail
-
builder
public static RequiredActionsTrait.Builder builder()
Deprecated.
-
toBuilder
public RequiredActionsTrait.Builder toBuilder()
Deprecated.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
-
-