Class TagObjectBuilder


  • public class TagObjectBuilder
    extends java.lang.Object
    Adds metadata to a single tag that is used by the OperationObject. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances.
    • Constructor Detail

      • TagObjectBuilder

        public TagObjectBuilder()
    • Method Detail

      • withName

        public TagObjectBuilder withName​(java.lang.String name)
        Parameters:
        name - REQUIRED. The name of the tag.
        Returns:
        The current builder
      • withDescription

        public TagObjectBuilder withDescription​(java.lang.String description)
        Parameters:
        description - A short description for the tag. CommonMark syntax MAY be used for rich text representation.
        Returns:
        The current builder
      • build

        public TagObject build()
        Returns:
        A new object