Class CfnResourceProperty.Builder
- java.lang.Object
-
- software.amazon.smithy.aws.cloudformation.traits.CfnResourceProperty.Builder
-
- All Implemented Interfaces:
SmithyBuilder<CfnResourceProperty>
- Enclosing class:
- CfnResourceProperty
public static final class CfnResourceProperty.Builder extends java.lang.Object implements SmithyBuilder<CfnResourceProperty>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CfnResourceProperty.BuilderaddShapeId(ShapeId shapeId)CfnResourcePropertybuild()Creates an immutable object that is created from the properties that have been set on the builder.CfnResourceProperty.BuilderhasExplicitMutability(boolean hasExplicitMutability)CfnResourceProperty.Buildermutabilities(java.util.Set<CfnResourceIndex.Mutability> mutabilities)CfnResourceProperty.BuilderremoveShapeId(ShapeId shapeId)CfnResourceProperty.BuildershapeIds(java.util.Set<ShapeId> shapeIds)
-
-
-
Method Detail
-
build
public CfnResourceProperty build()
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Specified by:
buildin interfaceSmithyBuilder<CfnResourceProperty>- Returns:
- an instance of T
-
addShapeId
public CfnResourceProperty.Builder addShapeId(ShapeId shapeId)
-
removeShapeId
public CfnResourceProperty.Builder removeShapeId(ShapeId shapeId)
-
shapeIds
public CfnResourceProperty.Builder shapeIds(java.util.Set<ShapeId> shapeIds)
-
mutabilities
public CfnResourceProperty.Builder mutabilities(java.util.Set<CfnResourceIndex.Mutability> mutabilities)
-
hasExplicitMutability
public CfnResourceProperty.Builder hasExplicitMutability(boolean hasExplicitMutability)
-
-