Class IntegerShape.Builder
- java.lang.Object
-
- software.amazon.smithy.model.shapes.AbstractShapeBuilder<IntegerShape.Builder,IntegerShape>
-
- software.amazon.smithy.model.shapes.IntegerShape.Builder
-
- All Implemented Interfaces:
FromSourceLocation
,software.amazon.smithy.utils.SmithyBuilder<IntegerShape>
- Enclosing class:
- IntegerShape
public static final class IntegerShape.Builder extends AbstractShapeBuilder<IntegerShape.Builder,IntegerShape>
Builder used to create aIntegerShape
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerShape
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 IntegerShape build()
-
getShapeType
public ShapeType getShapeType()
Description copied from class:AbstractShapeBuilder
Gets the type of shape being built.- Specified by:
getShapeType
in classAbstractShapeBuilder<IntegerShape.Builder,IntegerShape>
- Returns:
- Returns the shape type.
-
-