Class ComponentsObject.Builder
java.lang.Object
software.amazon.smithy.openapi.model.Component.Builder<ComponentsObject.Builder,ComponentsObject>
software.amazon.smithy.openapi.model.ComponentsObject.Builder
- All Implemented Interfaces:
SmithyBuilder<ComponentsObject>
- Enclosing class:
- ComponentsObject
public static final class ComponentsObject.Builder
extends Component.Builder<ComponentsObject.Builder,ComponentsObject>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.callbacks
(Map<String, CallbackObject> callbacks) headers
(Map<String, ParameterObject> headers) links
(Map<String, LinkObject> links) parameters
(Map<String, ParameterObject> parameters) putCallbacks
(String name, CallbackObject callback) putHeader
(String name, ParameterObject header) putLink
(String name, LinkObject link) putParameter
(String name, ParameterObject parameter) putRequestBodies
(String name, RequestBodyObject requestBody) putResponse
(String name, ResponseObject response) putSecurityScheme
(String name, SecurityScheme securityScheme) removeSchema
(String name) removeSecurityScheme
(String name) requestBodies
(Map<String, RequestBodyObject> requestBodies) responses
(Map<String, ResponseObject> responses) securitySchemes
(Map<String, SecurityScheme> securitySchemes) 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
-
schemas
-
putSchema
-
removeSchema
-
responses
-
putResponse
-
parameters
-
putParameter
-
requestBodies
-
putRequestBodies
-
headers
-
putHeader
-
securitySchemes
-
putSecurityScheme
-
removeSecurityScheme
-
links
-
putLink
-
callbacks
-
putCallbacks
-