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