Class ExamplesTrait.ErrorExample.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.ExamplesTrait.ErrorExample.Builder
-
- All Implemented Interfaces:
SmithyBuilder<ExamplesTrait.ErrorExample>
- Enclosing class:
- ExamplesTrait.ErrorExample
public static final class ExamplesTrait.ErrorExample.Builder extends java.lang.Object implements SmithyBuilder<ExamplesTrait.ErrorExample>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExamplesTrait.ErrorExample
build()
Creates an immutable object that is created from the properties that have been set on the builder.ExamplesTrait.ErrorExample.Builder
content(ObjectNode content)
ExamplesTrait.ErrorExample.Builder
shapeId(ShapeId shapeId)
-
-
-
Method Detail
-
build
public ExamplesTrait.ErrorExample build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<ExamplesTrait.ErrorExample>
- Returns:
- an instance of T
-
shapeId
public ExamplesTrait.ErrorExample.Builder shapeId(ShapeId shapeId)
-
content
public ExamplesTrait.ErrorExample.Builder content(ObjectNode content)
-
-