Class BigDecimalShape.Builder
- java.lang.Object
-
- software.amazon.smithy.model.shapes.AbstractShapeBuilder<BigDecimalShape.Builder,BigDecimalShape>
-
- software.amazon.smithy.model.shapes.BigDecimalShape.Builder
-
- All Implemented Interfaces:
FromSourceLocation,SmithyBuilder<BigDecimalShape>
- Enclosing class:
- BigDecimalShape
public static final class BigDecimalShape.Builder extends AbstractShapeBuilder<BigDecimalShape.Builder,BigDecimalShape>
Builder used to create aBigDecimalShape.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description BigDecimalShapebuild()Creates an immutable object that is created from the properties that have been set on the builder.ShapeTypegetShapeType()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 BigDecimalShape build()
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
getShapeType
public ShapeType getShapeType()
Description copied from class:AbstractShapeBuilderGets the type of shape being built.- Specified by:
getShapeTypein classAbstractShapeBuilder<BigDecimalShape.Builder,BigDecimalShape>- Returns:
- Returns the shape type.
-
-