Class CfnResourceProperty

All Implemented Interfaces:

public final class CfnResourceProperty extends Object implements ToSmithyBuilder<CfnResourceProperty>
Contains extracted resource property information.
  • Method Details

    • builder

      public static CfnResourceProperty.Builder builder()
    • getShapeId

      public ShapeId getShapeId()
      Gets the shape ID used to represent this property.
      Returns the shape ID.
    • hasExplicitMutability

      public boolean hasExplicitMutability()
      Returns true if the property's mutability was configured explicitly by the use of a trait instead of derived through its lifecycle bindings within a resource.

      Also returns true for identifiers, since their mutability is inherent

      Returns true if the mutability is explicitly defined by a trait or if property is an identifier
      See Also:
    • getMutabilities

      public Set<CfnResourceIndex.Mutability> getMutabilities()
      Gets all of the CloudFormation-specific property mutability options associated with this resource property.
      Returns the mutabilities.
    • toBuilder

      public CfnResourceProperty.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 interface ToSmithyBuilder<CfnResourceProperty>
      a builder for type T