Class RequestBodyObject
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component
-
- software.amazon.smithy.openapi.model.RequestBodyObject
-
- All Implemented Interfaces:
ToNode
,ToSmithyBuilder<RequestBodyObject>
public final class RequestBodyObject extends Component implements ToSmithyBuilder<RequestBodyObject>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequestBodyObject.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestBodyObject.Builder
builder()
protected ObjectNode.Builder
createNodeBuilder()
java.util.Map<java.lang.String,MediaTypeObject>
getContent()
java.util.Optional<java.lang.String>
getDescription()
boolean
isRequired()
RequestBodyObject.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 RequestBodyObject.Builder builder()
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
-
getContent
public java.util.Map<java.lang.String,MediaTypeObject> getContent()
-
isRequired
public boolean isRequired()
-
createNodeBuilder
protected ObjectNode.Builder createNodeBuilder()
- Specified by:
createNodeBuilder
in classComponent
-
toBuilder
public RequestBodyObject.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<RequestBodyObject>
- Returns:
- a builder for type T
-
-