public class ListShape extends CollectionShape implements software.amazon.smithy.utils.ToSmithyBuilder<ListShape>
list
shape.Modifier and Type | Class and Description |
---|---|
static class |
ListShape.Builder
Builder used to create a
ListShape . |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(ShapeVisitor<R> visitor)
Dispatches the shape to the appropriate
ShapeVisitor method. |
java.util.Optional<ListShape> |
asListShape() |
static ListShape.Builder |
builder() |
ShapeType |
getType()
Gets the type of the shape.
|
ListShape.Builder |
toBuilder() |
getAllMembers, getMember
asBigDecimalShape, asBigIntegerShape, asBlobShape, asBooleanShape, asByteShape, asDocumentShape, asDoubleShape, asEnumShape, asFloatShape, asIntegerShape, asIntEnumShape, asLongShape, asMapShape, asMemberShape, asOperationShape, asResourceShape, asServiceShape, asSetShape, asShortShape, asStringShape, asStructureShape, asTimestampShape, asUnionShape, compareTo, equals, expectTrait, findMemberTrait, findTrait, findTrait, getAllTraits, getId, getIntroducedTraits, getMember, getMemberNames, getMemberTrait, getMixins, getRequiredMixinMember, getSourceLocation, getTags, getTrait, hashCode, hasTrait, hasTrait, hasTrait, isBigDecimalShape, isBigIntegerShape, isBlobShape, isBooleanShape, isByteShape, isDocumentShape, isDoubleShape, isEnumShape, isFloatShape, isIntegerShape, isIntEnumShape, isListShape, isLongShape, isMapShape, isMemberShape, isOperationShape, isResourceShape, isServiceShape, isSetShape, isShortShape, isStringShape, isStructureShape, isTimestampShape, isUnionShape, members, shapeToBuilder, toShapeId, toString, validateMemberShapeIds, validateMixins
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compare
public static ListShape.Builder builder()
public ListShape.Builder toBuilder()
toBuilder
in interface software.amazon.smithy.utils.ToSmithyBuilder<ListShape>
public <R> R accept(ShapeVisitor<R> visitor)
Shape
ShapeVisitor
method.public java.util.Optional<ListShape> asListShape()
asListShape
in class Shape
ListShape
.