Class ServerObject.Builder
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component.Builder<ServerObject.Builder,ServerObject>
-
- software.amazon.smithy.openapi.model.ServerObject.Builder
-
- All Implemented Interfaces:
SmithyBuilder<ServerObject>
- Enclosing class:
- ServerObject
public static final class ServerObject.Builder extends Component.Builder<ServerObject.Builder,ServerObject>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerObject
build()
Creates an immutable object that is created from the properties that have been set on the builder.ServerObject.Builder
description(java.lang.String description)
ServerObject.Builder
url(java.lang.String url)
ServerObject.Builder
variables(java.util.Map<java.lang.String,ObjectNode> variables)
-
Methods inherited from class software.amazon.smithy.openapi.model.Component.Builder
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
-
-
-
-
Method Detail
-
build
public ServerObject 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
-
url
public ServerObject.Builder url(java.lang.String url)
-
description
public ServerObject.Builder description(java.lang.String description)
-
variables
public ServerObject.Builder variables(java.util.Map<java.lang.String,ObjectNode> variables)
-
-