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> cases)
Dispatches the shape to the appropriate
ShapeVisitor method. |
java.util.Optional<BooleanShape> |
asBooleanShape() |
static BooleanShape.Builder |
builder() |
BooleanShape.Builder |
toBuilder() |
asBigDecimalShape, asBigIntegerShape, asBlobShape, asByteShape, asDocumentShape, asDoubleShape, asFloatShape, asIntegerShape, 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, getType, 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 BooleanShape.Builder builder()
public BooleanShape.Builder toBuilder()
toBuilder
in interface software.amazon.smithy.utils.ToSmithyBuilder<BooleanShape>
public <R> R accept(ShapeVisitor<R> cases)
Shape
ShapeVisitor
method.public java.util.Optional<BooleanShape> asBooleanShape()
asBooleanShape
in class Shape
BooleanShape
.