Class ResponseObject.Builder
java.lang.Object
software.amazon.smithy.openapi.model.Component.Builder<ResponseObject.Builder,ResponseObject>
software.amazon.smithy.openapi.model.ResponseObject.Builder
- All Implemented Interfaces:
SmithyBuilder<ResponseObject>
- Enclosing class:
- ResponseObject
public static final class ResponseObject.Builder
extends Component.Builder<ResponseObject.Builder,ResponseObject>
-
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) headers
(Map<String, Ref<ParameterObject>> headers) links
(Map<String, Ref<LinkObject>> links) putContent
(String name, MediaTypeObject mediaTypeObject) putHeader
(String name, Ref<ParameterObject> header) putLink
(String name, LinkObject link) putLink
(String name, Ref<LinkObject> link) 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
-
putHeader
-
headers
-
putContent
-
content
-
putLink
-
putLink
-
links
-