Class AudioOnlyHlsSettingsProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.AudioOnlyHlsSettingsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AudioOnlyHlsSettingsProps>
- Enclosing interface:
AudioOnlyHlsSettingsProps
@Stability(Experimental)
public static final class AudioOnlyHlsSettingsProps.Builder
extends Object
implements software.amazon.jsii.Builder<AudioOnlyHlsSettingsProps>
A builder for
AudioOnlyHlsSettingsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaudioGroupId(String audioGroupId) Sets the value ofAudioOnlyHlsSettingsProps.getAudioGroupId()audioOnlyImage(FileLocation audioOnlyImage) Sets the value ofAudioOnlyHlsSettingsProps.getAudioOnlyImage()audioTrackType(HlsAudioTrackType audioTrackType) Sets the value ofAudioOnlyHlsSettingsProps.getAudioTrackType()build()Builds the configured instance.segmentType(HlsAudioOnlySegmentType segmentType) Sets the value ofAudioOnlyHlsSettingsProps.getSegmentType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioGroupId
Sets the value ofAudioOnlyHlsSettingsProps.getAudioGroupId()- Parameters:
audioGroupId- The group that this audio rendition belongs to.- Returns:
this
-
audioOnlyImage
@Stability(Experimental) public AudioOnlyHlsSettingsProps.Builder audioOnlyImage(FileLocation audioOnlyImage) Sets the value ofAudioOnlyHlsSettingsProps.getAudioOnlyImage()- Parameters:
audioOnlyImage- A .jpg or .png cover-art image embedded in each audio-only segment. Provide aFileLocationreferencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url).- Returns:
this
-
audioTrackType
@Stability(Experimental) public AudioOnlyHlsSettingsProps.Builder audioTrackType(HlsAudioTrackType audioTrackType) Sets the value ofAudioOnlyHlsSettingsProps.getAudioTrackType()- Parameters:
audioTrackType- How the audio rendition is signaled in the HLS manifest.- Returns:
this
-
segmentType
@Stability(Experimental) public AudioOnlyHlsSettingsProps.Builder segmentType(HlsAudioOnlySegmentType segmentType) Sets the value ofAudioOnlyHlsSettingsProps.getSegmentType()- Parameters:
segmentType- The segment container type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AudioOnlyHlsSettingsProps>- Returns:
- a new instance of
AudioOnlyHlsSettingsProps - Throws:
NullPointerException- if any required attribute was not provided
-