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