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 Object implements SmithyBuilder<C>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • getExtensions

      public Map<String,Node> getExtensions()
    • extensions

      public B extensions(Map<String,Node> extensions)
    • extensions

      public B extensions(ObjectNode extensions)
    • putExtension

      public B putExtension(String key, Node value)
    • putExtension

      public B putExtension(String key, String value)
    • putExtension

      public B putExtension(String key, Boolean value)
    • putExtension

      public B putExtension(String key, Number value)
    • removeExtension

      public B removeExtension(String key)