Class ExamplesTrait.Example
java.lang.Object
software.amazon.smithy.model.traits.ExamplesTrait.Example
- All Implemented Interfaces:
ToNode
,ToSmithyBuilder<ExamplesTrait.Example>
- Enclosing class:
- ExamplesTrait
public static final class ExamplesTrait.Example
extends Object
implements ToNode, ToSmithyBuilder<ExamplesTrait.Example>
A specific example.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder used to createExamplesTrait.Example
s. -
Method Summary
-
Method Details
-
getTitle
- Returns:
- Returns the title.
-
getDocumentation
- Returns:
- Gets the optional documentation.
-
getInput
- Returns:
- Gets the input object.
-
getOutput
- Returns:
- Gets the output object.
-
getError
- Returns:
- Gets the error example.
-
toNode
Description copied from interface:ToNode
Converts a value to aNode
. -
toBuilder
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<ExamplesTrait.Example>
- Returns:
- a builder for type T
-
builder
-