Class ExamplesTrait.Example.Builder
java.lang.Object
software.amazon.smithy.model.traits.ExamplesTrait.Example.Builder
- All Implemented Interfaces:
SmithyBuilder<ExamplesTrait.Example>
- Enclosing class:
- ExamplesTrait.Example
public static final class ExamplesTrait.Example.Builder
extends Object
implements SmithyBuilder<ExamplesTrait.Example>
Builder used to create
ExamplesTrait.Example
s.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowConstraintErrors
(Boolean allowConstraintErrors) build()
Creates an immutable object that is created from the properties that have been set on the builder.documentation
(String documentation) error
(ExamplesTrait.ErrorExample error) input
(ObjectNode input) output
(ObjectNode output)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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.Example>
- Returns:
- an instance of T
-
title
-
documentation
-
input
-
output
-
error
-
allowConstraintErrors
-