Class ExamplesTrait.ErrorExample
java.lang.Object
software.amazon.smithy.model.traits.ExamplesTrait.ErrorExample
- All Implemented Interfaces:
ToNode
,ToSmithyBuilder<ExamplesTrait.ErrorExample>
- Enclosing class:
- ExamplesTrait
public static final class ExamplesTrait.ErrorExample
extends Object
implements ToNode, ToSmithyBuilder<ExamplesTrait.ErrorExample>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ExamplesTrait.ErrorExample
Take this object and create a builder that contains all of the current property values of this object.toNode()
Converts a value to aNode
.
-
Constructor Details
-
ErrorExample
-
-
Method Details
-
fromNode
-
getShapeId
- Returns:
- Gets the error shape id for the example.
-
getContent
- Returns:
- Gets the error object.
-
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.ErrorExample>
- Returns:
- a builder for type T
-
builder
-