Class RequestBodyObject.Builder
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component.Builder<RequestBodyObject.Builder,RequestBodyObject>
-
- software.amazon.smithy.openapi.model.RequestBodyObject.Builder
-
- All Implemented Interfaces:
SmithyBuilder<RequestBodyObject>
- Enclosing class:
- RequestBodyObject
public static final class RequestBodyObject.Builder extends Component.Builder<RequestBodyObject.Builder,RequestBodyObject>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class software.amazon.smithy.openapi.model.Component.Builder
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
-
-
-
-
Method Detail
-
build
public RequestBodyObject 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
-
description
public RequestBodyObject.Builder description(java.lang.String description)
-
content
public RequestBodyObject.Builder content(java.util.Map<java.lang.String,MediaTypeObject> content)
-
putContent
public RequestBodyObject.Builder putContent(java.lang.String name, MediaTypeObject content)
-
required
public RequestBodyObject.Builder required(boolean required)
-
-