public static final class LengthTrait.Builder extends AbstractTraitBuilder<LengthTrait,LengthTrait.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LengthTrait |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
LengthTrait.Builder |
max(java.lang.Long max) |
LengthTrait.Builder |
min(java.lang.Long min) |
getSourceLocation, sourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public LengthTrait.Builder min(java.lang.Long min)
public LengthTrait.Builder max(java.lang.Long max)
public LengthTrait build()
SmithyBuilder