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
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.content
(Map<String, MediaTypeObject> content) description
(String description) putContent
(String name, MediaTypeObject content) required
(boolean required) Methods inherited from class software.amazon.smithy.openapi.model.Component.Builder
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
-
Method Details
-
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
-
content
-
putContent
-
required
-