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.Builder
addShapeId(ShapeId shapeId)
CfnResourceProperty
build()
Creates an immutable object that is created from the properties that have been set on the builder.CfnResourceProperty.Builder
hasExplicitMutability(boolean hasExplicitMutability)
CfnResourceProperty.Builder
mutabilities(java.util.Set<CfnResourceIndex.Mutability> mutabilities)
CfnResourceProperty.Builder
removeShapeId(ShapeId shapeId)
CfnResourceProperty.Builder
shapeIds(java.util.Set<ShapeId> shapeIds)
-
-
-
Method Detail
-
build
public CfnResourceProperty build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in 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)
-
-