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 ExampleObject
build()
Creates an immutable object that is created from the properties that have been set on the builder.ExampleObject.Builder
description(java.lang.String description)
ExampleObject.Builder
externalValue(java.lang.String externalValue)
ExampleObject.Builder
summary(java.lang.String summary)
ExampleObject.Builder
value(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:SmithyBuilder
Creates 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)
-
-