Class ListShape.Builder
java.lang.Object
software.amazon.smithy.model.shapes.AbstractShapeBuilder<B,S>
software.amazon.smithy.model.shapes.CollectionShape.Builder<ListShape.Builder,ListShape>
software.amazon.smithy.model.shapes.ListShape.Builder
- All Implemented Interfaces:
FromSourceLocation,software.amazon.smithy.utils.SmithyBuilder<ListShape>
- Direct Known Subclasses:
SetShape.Builder
- Enclosing class:
- ListShape
Builder used to create a
ListShape.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class software.amazon.smithy.model.shapes.CollectionShape.Builder
addMember, clearMembers, flattenMixins, getMember, id, member, member, memberMethods inherited from class software.amazon.smithy.model.shapes.AbstractShapeBuilder
addMixin, addTrait, addTraits, clearMixins, clearTraits, getAllTraits, getId, getSourceLocation, id, mixins, removeMixin, removeTrait, removeTrait, source, source, traits
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
getShapeType
Description copied from class:AbstractShapeBuilderGets the type of shape being built.- Specified by:
getShapeTypein classAbstractShapeBuilder<ListShape.Builder,ListShape> - Returns:
- Returns the shape type.
-