Class LengthTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<LengthTrait,LengthTrait.Builder>
software.amazon.smithy.model.traits.LengthTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<LengthTrait>
- Enclosing class:
- LengthTrait
public static final class LengthTrait.Builder
extends AbstractTraitBuilder<LengthTrait,LengthTrait.Builder>
Builder used to create a LongTrait.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
min
-
max
-
build
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-