public static final class StringShape.Builder extends AbstractShapeBuilder<StringShape.Builder,StringShape>
StringShape
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StringShape |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
ShapeType |
getShapeType()
Gets the type of shape being built.
|
addMember, addTrait, addTraits, clearTraits, getId, getSourceLocation, id, id, removeTrait, removeTrait, source, source, traits
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public StringShape build()
SmithyBuilder
public ShapeType getShapeType()
AbstractShapeBuilder
getShapeType
in class AbstractShapeBuilder<StringShape.Builder,StringShape>