Class TimestampShape.Builder
- java.lang.Object
-
- software.amazon.smithy.model.shapes.AbstractShapeBuilder<TimestampShape.Builder,TimestampShape>
-
- software.amazon.smithy.model.shapes.TimestampShape.Builder
-
- All Implemented Interfaces:
FromSourceLocation,SmithyBuilder<TimestampShape>
- Enclosing class:
- TimestampShape
public static final class TimestampShape.Builder extends AbstractShapeBuilder<TimestampShape.Builder,TimestampShape>
Builder used to create aTimestampShape.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimestampShapebuild()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, addMixin, addTrait, addTraits, clearMembers, clearMixins, clearTraits, flattenMixins, getAllTraits, getId, getMember, getSourceLocation, id, id, mixins, removeMixin, removeTrait, removeTrait, source, source, traits
-
-
-
-
Method Detail
-
build
public TimestampShape 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<TimestampShape.Builder,TimestampShape>- Returns:
- Returns the shape type.
-
-