public final class ShortShape extends NumberShape implements ToSmithyBuilder<ShortShape>
short
shape.Modifier and Type | Class and Description |
---|---|
static class |
ShortShape.Builder
Builder used to create a
ShortShape . |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(ShapeVisitor<R> cases)
Dispatches the shape to the appropriate
ShapeVisitor method. |
java.util.Optional<ShortShape> |
asShortShape() |
static ShortShape.Builder |
builder() |
ShapeType |
getType()
Gets the type of the shape.
|
ShortShape.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
asBigDecimalShape, asBigIntegerShape, asBlobShape, asBooleanShape, asByteShape, asDocumentShape, asDoubleShape, asFloatShape, asIntegerShape, asListShape, asLongShape, asMapShape, asMemberShape, asOperationShape, asResourceShape, asServiceShape, asSetShape, asStringShape, asStructureShape, asTimestampShape, asUnionShape, compareTo, equals, expectTrait, findMemberTrait, findTrait, findTrait, getAllTraits, getId, getMemberTrait, getSourceLocation, getTags, getTrait, hashCode, hasTrait, hasTrait, hasTrait, isBigDecimalShape, isBigIntegerShape, isBlobShape, isBooleanShape, isByteShape, isDocumentShape, isDoubleShape, isFloatShape, isIntegerShape, isListShape, isLongShape, isMapShape, isMemberShape, isOperationShape, isResourceShape, isServiceShape, isSetShape, isShortShape, isStringShape, isStructureShape, isTimestampShape, isUnionShape, members, shapeToBuilder, toShapeId, toString
public static ShortShape.Builder builder()
public ShortShape.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<ShortShape>
public <R> R accept(ShapeVisitor<R> cases)
Shape
ShapeVisitor
method.public java.util.Optional<ShortShape> asShortShape()
asShortShape
in class Shape
ShortShape
.