public static final class RangeTrait.Builder extends AbstractTraitBuilder<RangeTrait,RangeTrait.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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) |
getSourceLocation, sourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public RangeTrait.Builder min(java.math.BigDecimal min)
public RangeTrait.Builder max(java.math.BigDecimal max)
public RangeTrait build()
SmithyBuilder