Class Component.Builder<B extends Component.Builder,C extends Component>
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component.Builder<B,C>
-
- All Implemented Interfaces:
SmithyBuilder<C>
- Direct Known Subclasses:
CallbackObject.Builder
,ComponentsObject.Builder
,EncodingObject.Builder
,ExampleObject.Builder
,ExternalDocumentation.Builder
,InfoObject.Builder
,LinkObject.Builder
,MediaTypeObject.Builder
,OpenApi.Builder
,OperationObject.Builder
,ParameterObject.Builder
,PathItem.Builder
,RequestBodyObject.Builder
,ResponseObject.Builder
,SecurityScheme.Builder
,ServerObject.Builder
,TagObject.Builder
,XmlObject.Builder
- Enclosing class:
- Component
public abstract static class Component.Builder<B extends Component.Builder,C extends Component> extends java.lang.Object implements SmithyBuilder<C>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
extensions(java.util.Map<java.lang.String,Node> extensions)
B
extensions(ObjectNode extensions)
java.util.Map<java.lang.String,Node>
getExtensions()
B
putExtension(java.lang.String key, java.lang.Boolean value)
B
putExtension(java.lang.String key, java.lang.Number value)
B
putExtension(java.lang.String key, java.lang.String value)
B
putExtension(java.lang.String key, Node value)
B
removeExtension(java.lang.String key)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.utils.SmithyBuilder
build
-
-
-
-
Method Detail
-
getExtensions
public java.util.Map<java.lang.String,Node> getExtensions()
-
extensions
public B extensions(ObjectNode extensions)
-
putExtension
public B putExtension(java.lang.String key, java.lang.String value)
-
putExtension
public B putExtension(java.lang.String key, java.lang.Boolean value)
-
putExtension
public B putExtension(java.lang.String key, java.lang.Number value)
-
removeExtension
public B removeExtension(java.lang.String key)
-
-