Class RangeTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<RangeTrait,RangeTrait.Builder>
software.amazon.smithy.model.traits.RangeTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<RangeTrait>
- Enclosing class:
- RangeTrait
public static final class RangeTrait.Builder
extends AbstractTraitBuilder<RangeTrait,RangeTrait.Builder>
Builder used to create a RangeTrait.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.max
(BigDecimal max) min
(BigDecimal min) 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
-