Class InfoObject

java.lang.Object
software.amazon.smithy.openapi.model.Component
software.amazon.smithy.openapi.model.InfoObject
All Implemented Interfaces:
software.amazon.smithy.model.node.ToNode, software.amazon.smithy.utils.ToSmithyBuilder<InfoObject>

public final class InfoObject extends Component implements software.amazon.smithy.utils.ToSmithyBuilder<InfoObject>
  • Method Details

    • builder

      public static InfoObject.Builder builder()
    • getTitle

      public String getTitle()
    • getVersion

      public String getVersion()
    • getDescription

      public Optional<String> getDescription()
    • getTermsOfService

      public Optional<String> getTermsOfService()
    • getLicense

      public Optional<software.amazon.smithy.model.node.ObjectNode> getLicense()
    • getContact

      public Optional<software.amazon.smithy.model.node.ObjectNode> getContact()
    • toBuilder

      public InfoObject.Builder toBuilder()
      Specified by:
      toBuilder in interface software.amazon.smithy.utils.ToSmithyBuilder<InfoObject>
    • createNodeBuilder

      protected software.amazon.smithy.model.node.ObjectNode.Builder createNodeBuilder()
      Specified by:
      createNodeBuilder in class Component