Class ExampleObject.Builder
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component.Builder<ExampleObject.Builder,ExampleObject>
-
- software.amazon.smithy.openapi.model.ExampleObject.Builder
-
- All Implemented Interfaces:
SmithyBuilder<ExampleObject>
- Enclosing class:
- ExampleObject
public static final class ExampleObject.Builder extends Component.Builder<ExampleObject.Builder,ExampleObject>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExampleObjectbuild()Creates an immutable object that is created from the properties that have been set on the builder.ExampleObject.Builderdescription(java.lang.String description)ExampleObject.BuilderexternalValue(java.lang.String externalValue)ExampleObject.Buildersummary(java.lang.String summary)ExampleObject.Buildervalue(Node value)-
Methods inherited from class software.amazon.smithy.openapi.model.Component.Builder
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
-
-
-
-
Method Detail
-
build
public ExampleObject build()
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
summary
public ExampleObject.Builder summary(java.lang.String summary)
-
description
public ExampleObject.Builder description(java.lang.String description)
-
value
public ExampleObject.Builder value(Node value)
-
externalValue
public ExampleObject.Builder externalValue(java.lang.String externalValue)
-
-