Class CfnResourceProperty
java.lang.Object
software.amazon.smithy.aws.cloudformation.traits.CfnResourceProperty
- All Implemented Interfaces:
software.amazon.smithy.utils.ToSmithyBuilder<CfnResourceProperty>
public final class CfnResourceProperty
extends Object
implements software.amazon.smithy.utils.ToSmithyBuilder<CfnResourceProperty>
Contains extracted resource property information.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnResourceProperty.Builderbuilder()Gets all of the CloudFormation-specific property mutability options associated with this resource property.software.amazon.smithy.model.shapes.ShapeIdGets the shape ID used to represent this property.booleanReturns 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.
-
Method Details
-
builder
-
getShapeId
public software.amazon.smithy.model.shapes.ShapeId getShapeId()Gets the shape ID used to represent this property.- Returns:
- 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:
- Returns true if the mutability is explicitly defined by a trait or if property is an identifier
- See Also:
-
getMutabilities
Gets all of the CloudFormation-specific property mutability options associated with this resource property.- Returns:
- Returns the mutabilities.
-
toBuilder
- Specified by:
toBuilderin interfacesoftware.amazon.smithy.utils.ToSmithyBuilder<CfnResourceProperty>
-