Class Audio.Builder

java.lang.Object
com.attribyte.parser.model.Audio.Builder
Enclosing class:
Audio

public static class Audio.Builder extends Object
Builds an immutable audio stream.
  • Method Details

    • getId

      public String getId()
      Gets the id.
      Returns:
      The id.
    • setId

      public Audio.Builder setId(String id)
      Sets the id.
      Parameters:
      id - The id.
      Returns:
      A self-reference.
    • getLink

      public String getLink()
      Gets the link.
      Returns:
      The link.
    • getAltText

      public String getAltText()
      Gets the alternate text.
      Returns:
      The alternate text.
    • setAltText

      public Audio.Builder setAltText(String altText)
      Sets the alternate text.
      Parameters:
      altText - The alternate text.
      Returns:
      A self-reference.
    • getTitle

      public String getTitle()
      Gets the title.
      Returns:
      The title.
    • setTitle

      public Audio.Builder setTitle(String title)
      Sets the title.
      Parameters:
      title - The title.
      Returns:
      A self-reference.
    • getMediaType

      public String getMediaType()
      Gets the type.
      Returns:
      The type.
    • setMediaType

      public Audio.Builder setMediaType(String mediaType)
      Sets the type.
      Parameters:
      mediaType - The media type.
      Returns:
      A self-reference.
    • build

      public Audio build()
      Builds an immutable audio stream.
      Returns:
      The audio.