Class EncodingObject.Builder
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component.Builder<EncodingObject.Builder,EncodingObject>
-
- software.amazon.smithy.openapi.model.EncodingObject.Builder
-
- All Implemented Interfaces:
SmithyBuilder<EncodingObject>
- Enclosing class:
- EncodingObject
public static final class EncodingObject.Builder extends Component.Builder<EncodingObject.Builder,EncodingObject>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncodingObject.Builder
allowReserved(boolean allowReserved)
EncodingObject
build()
Creates an immutable object that is created from the properties that have been set on the builder.EncodingObject.Builder
contentType(java.lang.String contentType)
EncodingObject.Builder
explode(boolean explode)
EncodingObject.Builder
headers(java.util.Map<java.lang.String,ParameterObject> headers)
EncodingObject.Builder
putHeader(java.lang.String name, ParameterObject header)
EncodingObject.Builder
style(java.lang.String style)
-
Methods inherited from class software.amazon.smithy.openapi.model.Component.Builder
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
-
-
-
-
Method Detail
-
build
public EncodingObject 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
-
headers
public EncodingObject.Builder headers(java.util.Map<java.lang.String,ParameterObject> headers)
-
putHeader
public EncodingObject.Builder putHeader(java.lang.String name, ParameterObject header)
-
contentType
public EncodingObject.Builder contentType(java.lang.String contentType)
-
style
public EncodingObject.Builder style(java.lang.String style)
-
explode
public EncodingObject.Builder explode(boolean explode)
-
allowReserved
public EncodingObject.Builder allowReserved(boolean allowReserved)
-
-