Class LinkObject
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component
-
- software.amazon.smithy.openapi.model.LinkObject
-
- All Implemented Interfaces:
ToNode
,ToSmithyBuilder<LinkObject>
public final class LinkObject extends Component implements ToSmithyBuilder<LinkObject>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LinkObject.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinkObject.Builder
builder()
protected ObjectNode.Builder
createNodeBuilder()
java.util.Optional<java.lang.String>
getDescription()
java.util.Optional<java.lang.String>
getOperationId()
java.util.Optional<java.lang.String>
getOperationRef()
java.util.Map<java.lang.String,Node>
getParameters()
java.util.Optional<Node>
getRequestBody()
java.util.Optional<ServerObject>
getServer()
LinkObject.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.-
Methods inherited from class software.amazon.smithy.openapi.model.Component
equals, getExtension, getExtensions, hashCode, toNode
-
-
-
-
Method Detail
-
builder
public static LinkObject.Builder builder()
-
getParameters
public java.util.Map<java.lang.String,Node> getParameters()
-
getOperationRef
public java.util.Optional<java.lang.String> getOperationRef()
-
getOperationId
public java.util.Optional<java.lang.String> getOperationId()
-
getRequestBody
public java.util.Optional<Node> getRequestBody()
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
-
getServer
public java.util.Optional<ServerObject> getServer()
-
createNodeBuilder
protected ObjectNode.Builder createNodeBuilder()
- Specified by:
createNodeBuilder
in classComponent
-
toBuilder
public LinkObject.Builder toBuilder()
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<LinkObject>
- Returns:
- a builder for type T
-
-