Class CfnMutabilityTrait

  • All Implemented Interfaces:
    software.amazon.smithy.model.FromSourceLocation, software.amazon.smithy.model.node.ToNode, software.amazon.smithy.model.shapes.ToShapeId, software.amazon.smithy.model.traits.Trait

    public final class CfnMutabilityTrait
    extends software.amazon.smithy.model.traits.StringTrait
    Indicates an explicit CloudFormation mutability of the structure member when part of a CloudFormation resource.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static software.amazon.smithy.model.shapes.ShapeId ID  
    • Constructor Summary

      Constructors 
      Constructor Description
      CfnMutabilityTrait​(java.lang.String value, software.amazon.smithy.model.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 software.amazon.smithy.model.shapes.ShapeId ID
    • Constructor Detail

      • CfnMutabilityTrait

        public CfnMutabilityTrait​(java.lang.String value,
                                  software.amazon.smithy.model.SourceLocation sourceLocation)
    • Method Detail

      • isFullyMutable

        public boolean isFullyMutable()
      • isCreate

        public boolean isCreate()
      • isCreateAndRead

        public boolean isCreateAndRead()
      • isRead

        public boolean isRead()
      • isWrite

        public boolean isWrite()