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 java.lang.Object implements software.amazon.smithy.utils.ToSmithyBuilder<CfnResourceProperty>
Contains extracted resource property information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCfnResourceProperty.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CfnResourceProperty.Builderbuilder()java.util.Set<CfnResourceIndex.Mutability>getMutabilities()Gets all of the CloudFormation-specific property mutability options associated with this resource property.software.amazon.smithy.model.shapes.ShapeIdgetShapeId()Gets the shape ID used to represent this property.booleanhasExplicitMutability()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.CfnResourceProperty.BuildertoBuilder()
-
-
-
Method Detail
-
builder
public static CfnResourceProperty.Builder 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.- Returns:
- Returns true if the mutability is explicitly defined by a trait.
- See Also:
CfnMutabilityTrait
-
getMutabilities
public java.util.Set<CfnResourceIndex.Mutability> getMutabilities()
Gets all of the CloudFormation-specific property mutability options associated with this resource property.- Returns:
- Returns the mutabilities.
-
toBuilder
public CfnResourceProperty.Builder toBuilder()
- Specified by:
toBuilderin interfacesoftware.amazon.smithy.utils.ToSmithyBuilder<CfnResourceProperty>
-
-