public static final class CfnResourceTrait.Builder extends AbstractTraitBuilder<CfnResourceTrait,CfnResourceTrait.Builder>
Modifier and Type | Method and Description |
---|---|
CfnResourceTrait.Builder |
addAdditionalSchema(ShapeId additionalSchema) |
CfnResourceTrait.Builder |
additionalSchemas(java.util.List<ShapeId> additionalSchemas) |
CfnResourceTrait |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
CfnResourceTrait.Builder |
name(java.lang.String name) |
getSourceLocation, sourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public CfnResourceTrait build()
SmithyBuilder
public CfnResourceTrait.Builder name(java.lang.String name)
public CfnResourceTrait.Builder addAdditionalSchema(ShapeId additionalSchema)
public CfnResourceTrait.Builder additionalSchemas(java.util.List<ShapeId> additionalSchemas)