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