public static final class ReferencesTrait.Builder extends AbstractTraitBuilder<ReferencesTrait,ReferencesTrait.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ReferencesTrait.Builder |
addReference(ReferencesTrait.Reference reference) |
ReferencesTrait |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
ReferencesTrait.Builder |
clearReferences() |
ReferencesTrait.Builder |
references(java.util.List<ReferencesTrait.Reference> references) |
getSourceLocation, sourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public ReferencesTrait.Builder addReference(ReferencesTrait.Reference reference)
public ReferencesTrait.Builder clearReferences()
public ReferencesTrait.Builder references(java.util.List<ReferencesTrait.Reference> references)
public ReferencesTrait build()
SmithyBuilder