public final class ResponseObject extends Component implements ToSmithyBuilder<ResponseObject>
Modifier and Type | Class and Description |
---|---|
static class |
ResponseObject.Builder |
Modifier and Type | Method and Description |
---|---|
static ResponseObject.Builder |
builder() |
protected ObjectNode.Builder |
createNodeBuilder() |
java.util.Map<java.lang.String,MediaTypeObject> |
getContent() |
java.lang.String |
getDescription() |
java.util.Optional<Ref<ParameterObject>> |
getHeader(java.lang.String header)
Gets a header by case-insensitive header name.
|
java.util.Map<java.lang.String,Ref<ParameterObject>> |
getHeaders() |
java.util.Map<java.lang.String,Ref<LinkObject>> |
getLinks() |
ResponseObject.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
equals, getExtension, getExtensions, hashCode, toNode
public static ResponseObject.Builder builder()
public java.lang.String getDescription()
public java.util.Optional<Ref<ParameterObject>> getHeader(java.lang.String header)
header
- Header to retrieve.public java.util.Map<java.lang.String,Ref<ParameterObject>> getHeaders()
public java.util.Map<java.lang.String,MediaTypeObject> getContent()
public java.util.Map<java.lang.String,Ref<LinkObject>> getLinks()
protected ObjectNode.Builder createNodeBuilder()
createNodeBuilder
in class Component
public ResponseObject.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<ResponseObject>