public final class StringShape extends SimpleShape implements ToSmithyBuilder<StringShape>
string shape.| Modifier and Type | Class and Description |
|---|---|
static class |
StringShape.Builder
Builder used to create a
StringShape. |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(ShapeVisitor<R> cases)
Dispatches the shape to the appropriate
ShapeVisitor method. |
java.util.Optional<StringShape> |
asStringShape() |
static StringShape.Builder |
builder() |
ShapeType |
getType()
Gets the type of the shape.
|
StringShape.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, asShortShape, 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 StringShape.Builder builder()
public StringShape.Builder toBuilder()
ToSmithyBuildertoBuilder in interface ToSmithyBuilder<StringShape>public <R> R accept(ShapeVisitor<R> cases)
ShapeShapeVisitor method.public java.util.Optional<StringShape> asStringShape()
asStringShape in class ShapeStringShape.