Interface Track.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Track.Builder,
,Track> SdkBuilder<Track.Builder,
,Track> SdkPojo
- Enclosing class:
Track
@Mutable
@NotThreadSafe
public static interface Track.Builder
extends SdkPojo, CopyableBuilder<Track.Builder,Track>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Track.Builder
audioProperties
(Consumer<AudioProperties.Builder> audioProperties) Details about the media file's audio track.audioProperties
(AudioProperties audioProperties) Details about the media file's audio track.The codec of the audio or video track, or caption format of the data track.The codec of the audio or video track, or caption format of the data track.default Track.Builder
dataProperties
(Consumer<DataProperties.Builder> dataProperties) Details about the media file's data track.dataProperties
(DataProperties dataProperties) Details about the media file's data track.The duration of the track, in seconds.The unique index number of the track, starting at 1.The type of track: video, audio, or data.The type of track: video, audio, or data.default Track.Builder
videoProperties
(Consumer<VideoProperties.Builder> videoProperties) Details about the media file's video track.videoProperties
(VideoProperties videoProperties) Details about the media file's video track.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
audioProperties
Details about the media file's audio track.- Parameters:
audioProperties
- Details about the media file's audio track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audioProperties
Details about the media file's audio track. This is a convenience method that creates an instance of theAudioProperties.Builder
avoiding the need to create one manually viaAudioProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaudioProperties(AudioProperties)
.- Parameters:
audioProperties
- a consumer that will call methods onAudioProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codec
The codec of the audio or video track, or caption format of the data track.- Parameters:
codec
- The codec of the audio or video track, or caption format of the data track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codec
The codec of the audio or video track, or caption format of the data track.- Parameters:
codec
- The codec of the audio or video track, or caption format of the data track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataProperties
Details about the media file's data track.- Parameters:
dataProperties
- Details about the media file's data track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataProperties
Details about the media file's data track. This is a convenience method that creates an instance of theDataProperties.Builder
avoiding the need to create one manually viaDataProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataProperties(DataProperties)
.- Parameters:
dataProperties
- a consumer that will call methods onDataProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
duration
The duration of the track, in seconds.- Parameters:
duration
- The duration of the track, in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
index
The unique index number of the track, starting at 1.- Parameters:
index
- The unique index number of the track, starting at 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trackType
The type of track: video, audio, or data.- Parameters:
trackType
- The type of track: video, audio, or data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trackType
The type of track: video, audio, or data.- Parameters:
trackType
- The type of track: video, audio, or data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
videoProperties
Details about the media file's video track.- Parameters:
videoProperties
- Details about the media file's video track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
videoProperties
Details about the media file's video track. This is a convenience method that creates an instance of theVideoProperties.Builder
avoiding the need to create one manually viaVideoProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovideoProperties(VideoProperties)
.- Parameters:
videoProperties
- a consumer that will call methods onVideoProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-