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