public final class ExamplesTrait extends AbstractTrait implements ToSmithyBuilder<ExamplesTrait>
ExamplesTraitValidator
Modifier and Type | Class and Description |
---|---|
static class |
ExamplesTrait.Builder
Builds and examples trait.
|
static class |
ExamplesTrait.ErrorExample |
static class |
ExamplesTrait.Example
A specific example.
|
static class |
ExamplesTrait.Provider |
Modifier and Type | Method and Description |
---|---|
static ExamplesTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
java.util.List<ExamplesTrait.Example> |
getExamples() |
ExamplesTrait.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
public static final ShapeId ID
public java.util.List<ExamplesTrait.Example> getExamples()
protected Node createNode()
AbstractTrait
createNode
in class AbstractTrait
public ExamplesTrait.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<ExamplesTrait>
public static ExamplesTrait.Builder builder()