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.
Use the
@iamAction
trait's requiredActions
property instead.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Deprecated.static final class
Deprecated.Nested classes/interfaces inherited from class software.amazon.smithy.model.traits.StringListTrait
StringListTrait.StringListTraitConstructor<T extends StringListTrait>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRequiredActionsTrait
(List<String> actions) Deprecated.RequiredActionsTrait
(List<String> actions, FromSourceLocation sourceLocation) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic RequiredActionsTrait.Builder
builder()
Deprecated.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 Details
-
ID
Deprecated.
-
-
Constructor Details
-
RequiredActionsTrait
Deprecated. -
RequiredActionsTrait
Deprecated.
-
-
Method Details
-
builder
Deprecated. -
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
-
IamActionTrait.resolveRequiredActions(software.amazon.smithy.model.shapes.OperationShape)
.