Class MediaTypeObject.Builder
java.lang.Object
software.amazon.smithy.openapi.model.Component.Builder<MediaTypeObject.Builder,MediaTypeObject>
software.amazon.smithy.openapi.model.MediaTypeObject.Builder
- All Implemented Interfaces:
SmithyBuilder<MediaTypeObject>
- Enclosing class:
- MediaTypeObject
public static final class MediaTypeObject.Builder
extends Component.Builder<MediaTypeObject.Builder,MediaTypeObject>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.encoding
(Map<String, EncodingObject> encoding) putEncoding
(String name, EncodingObject encodingObject) putExample
(String name, ExampleObject example) 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
-
schema
-
example
-
examples
-
putExample
-
encoding
-
putEncoding
-