Class ExamplesTrait.Example
java.lang.Object
software.amazon.smithy.model.traits.ExamplesTrait.Example
- All Implemented Interfaces:
ToNode
,software.amazon.smithy.utils.ToSmithyBuilder<ExamplesTrait.Example>
- Enclosing class:
- ExamplesTrait
public static final class ExamplesTrait.Example
extends Object
implements ToNode, software.amazon.smithy.utils.ToSmithyBuilder<ExamplesTrait.Example>
A specific example.
-
Method Details
-
getTitle
- Returns:
- Returns the title.
-
getDocumentation
- Returns:
- Gets the optional documentation.
-
getInput
- Returns:
- Gets the input object.
-
getOutput
- Returns:
- Gets the output object.
-
getError
- Returns:
- Gets the error example.
-
getAllowConstraintErrors
public boolean getAllowConstraintErrors()- Returns:
- Returns true if input constraints errors are allowed.
-
toNode
Description copied from interface:ToNode
Converts a value to aNode
. -
equals
-
hashCode
public int hashCode() -
toBuilder
- Specified by:
toBuilder
in interfacesoftware.amazon.smithy.utils.ToSmithyBuilder<ExamplesTrait.Example>
-
builder
-