Class CfnResourceTrait.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTraitBuilder<CfnResourceTrait,CfnResourceTrait.Builder>
-
- software.amazon.smithy.aws.cloudformation.traits.CfnResourceTrait.Builder
-
- All Implemented Interfaces:
SmithyBuilder<CfnResourceTrait>
- Enclosing class:
- CfnResourceTrait
public static final class CfnResourceTrait.Builder extends AbstractTraitBuilder<CfnResourceTrait,CfnResourceTrait.Builder>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
build
public CfnResourceTrait build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
name
public CfnResourceTrait.Builder name(java.lang.String name)
-
addAdditionalSchema
public CfnResourceTrait.Builder addAdditionalSchema(ShapeId additionalSchema)
-
additionalSchemas
public CfnResourceTrait.Builder additionalSchemas(java.util.List<ShapeId> additionalSchemas)
-
-