Class BooleanShape.Builder
- java.lang.Object
-
- software.amazon.smithy.model.shapes.AbstractShapeBuilder<BooleanShape.Builder,BooleanShape>
-
- software.amazon.smithy.model.shapes.BooleanShape.Builder
-
- All Implemented Interfaces:
FromSourceLocation
,software.amazon.smithy.utils.SmithyBuilder<BooleanShape>
- Enclosing class:
- BooleanShape
public static final class BooleanShape.Builder extends AbstractShapeBuilder<BooleanShape.Builder,BooleanShape>
Builder used to create aBooleanShape
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanShape
build()
ShapeType
getShapeType()
Gets the type of shape being built.-
Methods inherited from class software.amazon.smithy.model.shapes.AbstractShapeBuilder
addMember, addTrait, addTraits, clearTraits, getId, getSourceLocation, id, id, removeTrait, removeTrait, source, source, traits
-
-
-
-
Method Detail
-
build
public BooleanShape build()
-
getShapeType
public ShapeType getShapeType()
Description copied from class:AbstractShapeBuilder
Gets the type of shape being built.- Specified by:
getShapeType
in classAbstractShapeBuilder<BooleanShape.Builder,BooleanShape>
- Returns:
- Returns the shape type.
-
-