Class DocumentShape.Builder
java.lang.Object
software.amazon.smithy.model.shapes.AbstractShapeBuilder<DocumentShape.Builder,DocumentShape>
 
software.amazon.smithy.model.shapes.DocumentShape.Builder
- All Implemented Interfaces:
- FromSourceLocation,- SmithyBuilder<DocumentShape>
- Enclosing class:
- DocumentShape
public static final class DocumentShape.Builder
extends AbstractShapeBuilder<DocumentShape.Builder,DocumentShape> 
Builder used to create a 
DocumentShape.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Creates an immutable object that is created from the properties that have been set on the builder.Gets the type of shape being built.Methods inherited from class software.amazon.smithy.model.shapes.AbstractShapeBuilderaddMember, addMixin, addTrait, addTraits, clearMembers, clearMixins, clearTraits, flattenMixins, getAllTraits, getId, getMember, getSourceLocation, id, id, mixins, removeMixin, removeTrait, removeTrait, source, source, traits
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
buildDescription copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
 
- 
getShapeTypeDescription copied from class:AbstractShapeBuilderGets the type of shape being built.- Specified by:
- getShapeTypein class- AbstractShapeBuilder<DocumentShape.Builder,- DocumentShape> 
- Returns:
- Returns the shape type.
 
 
-