public final class BooleanShape extends SimpleShape implements software.amazon.smithy.utils.ToSmithyBuilder<BooleanShape>
boolean shape.| Modifier and Type | Class and Description |
|---|---|
static class |
BooleanShape.Builder
Builder used to create a
BooleanShape. |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(ShapeVisitor<R> visitor)
Dispatches the shape to the appropriate
ShapeVisitor method. |
java.util.Optional<BooleanShape> |
asBooleanShape() |
static BooleanShape.Builder |
builder() |
ShapeType |
getType()
Gets the type of the shape.
|
BooleanShape.Builder |
toBuilder() |
asBigDecimalShape, asBigIntegerShape, asBlobShape, asByteShape, asDocumentShape, asDoubleShape, asEnumShape, asFloatShape, asIntegerShape, asIntEnumShape, asListShape, asLongShape, asMapShape, asMemberShape, asOperationShape, asResourceShape, asServiceShape, asSetShape, asShortShape, asStringShape, asStructureShape, asTimestampShape, asUnionShape, compareTo, equals, expectTrait, findMemberTrait, findTrait, findTrait, getAllMembers, getAllTraits, getId, getIntroducedTraits, getMember, getMemberNames, getMemberTrait, getMixins, getRequiredMembers, 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, validateMixinsclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparepublic static BooleanShape.Builder builder()
public BooleanShape.Builder toBuilder()
toBuilder in interface software.amazon.smithy.utils.ToSmithyBuilder<BooleanShape>public <R> R accept(ShapeVisitor<R> visitor)
ShapeShapeVisitor method.public java.util.Optional<BooleanShape> asBooleanShape()
asBooleanShape in class ShapeBooleanShape.