public final class MediaTypeObject extends Component implements ToSmithyBuilder<MediaTypeObject>
Modifier and Type | Class and Description |
---|---|
static class |
MediaTypeObject.Builder |
Modifier and Type | Method and Description |
---|---|
static MediaTypeObject.Builder |
builder() |
protected ObjectNode.Builder |
createNodeBuilder() |
java.util.Map<java.lang.String,EncodingObject> |
getEncoding() |
java.util.Optional<Node> |
getExample() |
java.util.Map<java.lang.String,Node> |
getExamples() |
java.util.Optional<Schema> |
getSchema() |
MediaTypeObject.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
equals, getExtension, getExtensions, hashCode, toNode
public static MediaTypeObject.Builder builder()
public java.util.Optional<Schema> getSchema()
public java.util.Optional<Node> getExample()
public java.util.Map<java.lang.String,Node> getExamples()
public java.util.Map<java.lang.String,EncodingObject> getEncoding()
protected ObjectNode.Builder createNodeBuilder()
createNodeBuilder
in class Component
public MediaTypeObject.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<MediaTypeObject>