Class CfnMutabilityTrait
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTrait
-
- software.amazon.smithy.model.traits.StringTrait
-
- software.amazon.smithy.aws.cloudformation.traits.CfnMutabilityTrait
-
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToShapeId
,Trait
public final class CfnMutabilityTrait extends StringTrait
Indicates an explicit CloudFormation mutability of the structure member when part of a CloudFormation resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CfnMutabilityTrait.Provider
-
Constructor Summary
Constructors Constructor Description CfnMutabilityTrait(java.lang.String value, SourceLocation sourceLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCreate()
boolean
isCreateAndRead()
boolean
isFullyMutable()
boolean
isRead()
boolean
isWrite()
-
Methods inherited from class software.amazon.smithy.model.traits.StringTrait
createNode, getValue
-
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
-
CfnMutabilityTrait
public CfnMutabilityTrait(java.lang.String value, SourceLocation sourceLocation)
-
-