Package com.attribyte.parser.model
Class Audio.Builder
java.lang.Object
com.attribyte.parser.model.Audio.Builder
- Enclosing class:
Audio
Builds an immutable audio stream.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an immutable audio stream.Gets the alternate text.getId()Gets the id.getLink()Gets the link.Gets the type.getTitle()Gets the title.setAltText(String altText) Sets the alternate text.Sets the id.setMediaType(String mediaType) Sets the type.Sets the title.
-
Method Details
-
getId
Gets the id.- Returns:
- The id.
-
setId
Sets the id.- Parameters:
id- The id.- Returns:
- A self-reference.
-
getLink
Gets the link.- Returns:
- The link.
-
getAltText
Gets the alternate text.- Returns:
- The alternate text.
-
setAltText
Sets the alternate text.- Parameters:
altText- The alternate text.- Returns:
- A self-reference.
-
getTitle
Gets the title.- Returns:
- The title.
-
setTitle
Sets the title.- Parameters:
title- The title.- Returns:
- A self-reference.
-
getMediaType
Gets the type.- Returns:
- The type.
-
setMediaType
Sets the type.- Parameters:
mediaType- The media type.- Returns:
- A self-reference.
-
build
Builds an immutable audio stream.- Returns:
- The audio.
-