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,- SmithyBuilder<ListShape>
 - Direct Known Subclasses:
- SetShape.Builder
 - Enclosing class:
- ListShape
 
 public static class ListShape.Builder extends CollectionShape.Builder<ListShape.Builder,ListShape> Builder used to create aListShape.
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListShapebuild()Creates an immutable object that is created from the properties that have been set on the builder.ShapeTypegetShapeType()Gets the type of shape being built.- 
Methods inherited from class software.amazon.smithy.model.shapes.CollectionShape.BuilderaddMember, clearMembers, flattenMixins, getMember, id, member, member, member
 - 
Methods inherited from class software.amazon.smithy.model.shapes.AbstractShapeBuilderaddMixin, addTrait, addTraits, clearMixins, clearTraits, getAllTraits, getId, getSourceLocation, id, mixins, removeMixin, removeTrait, removeTrait, source, source, traits
 
- 
 
- 
- 
- 
Method Detail- 
buildpublic ListShape build() Description 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
 
 - 
getShapeTypepublic ShapeType getShapeType() Description copied from class:AbstractShapeBuilderGets the type of shape being built.- Specified by:
- getShapeTypein class- AbstractShapeBuilder<ListShape.Builder,ListShape>
- Returns:
- Returns the shape type.
 
 
- 
 
-