public final class IntegerShape extends NumberShape implements ToSmithyBuilder<IntegerShape>
integer shape.| Modifier and Type | Class and Description |
|---|---|
static class |
IntegerShape.Builder
Builder used to create a
IntegerShape. |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(ShapeVisitor<R> cases)
Dispatches the shape to the appropriate
ShapeVisitor method. |
java.util.Optional<IntegerShape> |
asIntegerShape() |
static IntegerShape.Builder |
builder() |
ShapeType |
getType()
Gets the type of the shape.
|
IntegerShape.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, asListShape, asLongShape, asMapShape, asMemberShape, asOperationShape, asResourceShape, asServiceShape, asSetShape, asShortShape, 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, toStringpublic static IntegerShape.Builder builder()
public IntegerShape.Builder toBuilder()
ToSmithyBuildertoBuilder in interface ToSmithyBuilder<IntegerShape>public <R> R accept(ShapeVisitor<R> cases)
ShapeShapeVisitor method.public java.util.Optional<IntegerShape> asIntegerShape()
asIntegerShape in class ShapeIntegerShape.