Class ComponentsObject
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component
-
- software.amazon.smithy.openapi.model.ComponentsObject
-
- All Implemented Interfaces:
ToNode
,ToSmithyBuilder<ComponentsObject>
public final class ComponentsObject extends Component implements ToSmithyBuilder<ComponentsObject>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComponentsObject.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentsObject.Builder
builder()
protected ObjectNode.Builder
createNodeBuilder()
java.util.Map<java.lang.String,CallbackObject>
getCallbacks()
java.util.Map<java.lang.String,ParameterObject>
getHeaders()
java.util.Map<java.lang.String,LinkObject>
getLinks()
java.util.Map<java.lang.String,ParameterObject>
getParameters()
java.util.Map<java.lang.String,RequestBodyObject>
getRequestBodies()
java.util.Map<java.lang.String,ResponseObject>
getResponses()
java.util.Map<java.lang.String,Schema>
getSchemas()
java.util.Map<java.lang.String,SecurityScheme>
getSecuritySchemes()
ComponentsObject.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.-
Methods inherited from class software.amazon.smithy.openapi.model.Component
equals, getExtension, getExtensions, hashCode, toNode
-
-
-
-
Method Detail
-
builder
public static ComponentsObject.Builder builder()
-
getSchemas
public java.util.Map<java.lang.String,Schema> getSchemas()
-
getResponses
public java.util.Map<java.lang.String,ResponseObject> getResponses()
-
getParameters
public java.util.Map<java.lang.String,ParameterObject> getParameters()
-
getRequestBodies
public java.util.Map<java.lang.String,RequestBodyObject> getRequestBodies()
-
getHeaders
public java.util.Map<java.lang.String,ParameterObject> getHeaders()
-
getSecuritySchemes
public java.util.Map<java.lang.String,SecurityScheme> getSecuritySchemes()
-
getLinks
public java.util.Map<java.lang.String,LinkObject> getLinks()
-
getCallbacks
public java.util.Map<java.lang.String,CallbackObject> getCallbacks()
-
createNodeBuilder
protected ObjectNode.Builder createNodeBuilder()
- Specified by:
createNodeBuilder
in classComponent
-
toBuilder
public ComponentsObject.Builder toBuilder()
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<ComponentsObject>
- Returns:
- a builder for type T
-
-