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.Examples.-
Constructor Summary
Constructors -
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:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Specified by:
buildin interfaceSmithyBuilder<ExamplesTrait.Example>- Returns:
- an instance of T
-
title
-
documentation
-
input
-
output
-
error
-
allowConstraintErrors
-