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 java.lang.Object implements SmithyBuilder<ExamplesTrait.Example>
Builder used to createExamplesTrait.Example
s.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExamplesTrait.Example.Builder
allowConstraintErrors(java.lang.Boolean allowConstraintErrors)
ExamplesTrait.Example
build()
Creates an immutable object that is created from the properties that have been set on the builder.ExamplesTrait.Example.Builder
documentation(java.lang.String documentation)
ExamplesTrait.Example.Builder
error(ExamplesTrait.ErrorExample error)
ExamplesTrait.Example.Builder
input(ObjectNode input)
ExamplesTrait.Example.Builder
output(ObjectNode output)
ExamplesTrait.Example.Builder
title(java.lang.String title)
-
-
-
Method Detail
-
build
public ExamplesTrait.Example 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
public ExamplesTrait.Example.Builder title(java.lang.String title)
-
documentation
public ExamplesTrait.Example.Builder documentation(java.lang.String documentation)
-
input
public ExamplesTrait.Example.Builder input(ObjectNode input)
-
output
public ExamplesTrait.Example.Builder output(ObjectNode output)
-
error
public ExamplesTrait.Example.Builder error(ExamplesTrait.ErrorExample error)
-
allowConstraintErrors
public ExamplesTrait.Example.Builder allowConstraintErrors(java.lang.Boolean allowConstraintErrors)
-
-