Class ShortShape.Builder
java.lang.Object
software.amazon.smithy.model.shapes.AbstractShapeBuilder<ShortShape.Builder,ShortShape>
software.amazon.smithy.model.shapes.ShortShape.Builder
- All Implemented Interfaces:
FromSourceLocation
,SmithyBuilder<ShortShape>
- Enclosing class:
- ShortShape
public static final class ShortShape.Builder
extends AbstractShapeBuilder<ShortShape.Builder,ShortShape>
Builder used to create a
ShortShape
.-
Constructor Summary
-
Method Summary
Modifier 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.AbstractShapeBuilder
addMember, addMixin, addTrait, addTraits, clearMembers, clearMixins, clearTraits, flattenMixins, getAllTraits, getId, getMember, getSourceLocation, id, id, mixins, removeMixin, removeTrait, removeTrait, source, source, traits
-
Constructor Details
-
Builder
public Builder()
-
-
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
-
getShapeType
Description copied from class:AbstractShapeBuilder
Gets the type of shape being built.- Specified by:
getShapeType
in classAbstractShapeBuilder<ShortShape.Builder,
ShortShape> - Returns:
- Returns the shape type.
-