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
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RangeTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.RangeTrait.Builder
max(java.math.BigDecimal max)
RangeTrait.Builder
min(java.math.BigDecimal min)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
min
public RangeTrait.Builder min(java.math.BigDecimal min)
-
max
public RangeTrait.Builder max(java.math.BigDecimal max)
-
build
public RangeTrait 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
-
-