public static final class ResponseObject.Builder extends Component.Builder<ResponseObject.Builder,ResponseObject>
Modifier and Type | Method and Description |
---|---|
ResponseObject |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
ResponseObject.Builder |
content(java.util.Map<java.lang.String,MediaTypeObject> content) |
ResponseObject.Builder |
description(java.lang.String description) |
ResponseObject.Builder |
headers(java.util.Map<java.lang.String,Ref<ParameterObject>> headers) |
ResponseObject.Builder |
links(java.util.Map<java.lang.String,Ref<LinkObject>> links) |
ResponseObject.Builder |
putContent(java.lang.String name,
MediaTypeObject mediaTypeObject) |
ResponseObject.Builder |
putHeader(java.lang.String name,
Ref<ParameterObject> header) |
ResponseObject.Builder |
putLink(java.lang.String name,
LinkObject link) |
ResponseObject.Builder |
putLink(java.lang.String name,
Ref<LinkObject> link) |
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public ResponseObject build()
SmithyBuilder
public ResponseObject.Builder description(java.lang.String description)
public ResponseObject.Builder putHeader(java.lang.String name, Ref<ParameterObject> header)
public ResponseObject.Builder headers(java.util.Map<java.lang.String,Ref<ParameterObject>> headers)
public ResponseObject.Builder putContent(java.lang.String name, MediaTypeObject mediaTypeObject)
public ResponseObject.Builder content(java.util.Map<java.lang.String,MediaTypeObject> content)
public ResponseObject.Builder putLink(java.lang.String name, Ref<LinkObject> link)
public ResponseObject.Builder putLink(java.lang.String name, LinkObject link)
public ResponseObject.Builder links(java.util.Map<java.lang.String,Ref<LinkObject>> links)