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
Modifier and TypeMethodDescriptionaddAdditionalSchema
(ShapeId additionalSchema) additionalSchemas
(List<ShapeId> additionalSchemas) build()
Creates an immutable object that is created from the properties that have been set on the builder.Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Method Details
-
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
-
addAdditionalSchema
-
additionalSchemas
-