Interface AlternateMedia.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AlternateMedia.Builder,
,AlternateMedia> SdkBuilder<AlternateMedia.Builder,
,AlternateMedia> SdkPojo
- Enclosing class:
AlternateMedia
@Mutable
@NotThreadSafe
public static interface AlternateMedia.Builder
extends SdkPojo, CopyableBuilder<AlternateMedia.Builder,AlternateMedia>
-
Method Summary
Modifier and TypeMethodDescriptionadBreaks
(Collection<AdBreak> adBreaks) Ad break configuration parameters defined in AlternateMedia.adBreaks
(Consumer<AdBreak.Builder>... adBreaks) Ad break configuration parameters defined in AlternateMedia.Ad break configuration parameters defined in AlternateMedia.default AlternateMedia.Builder
clipRange
(Consumer<ClipRange.Builder> clipRange) Sets the value of the ClipRange property for this object.Sets the value of the ClipRange property for this object.durationMillis
(Long durationMillis) The duration of the alternateMedia in milliseconds.liveSourceName
(String liveSourceName) The name of the live source for alternateMedia.scheduledStartTimeMillis
(Long scheduledStartTimeMillis) The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.sourceLocationName
(String sourceLocationName) The name of the source location for alternateMedia.vodSourceName
(String vodSourceName) The name of the VOD source for alternateMedia.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
-
sourceLocationName
The name of the source location for alternateMedia.
- Parameters:
sourceLocationName
- The name of the source location for alternateMedia.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
liveSourceName
The name of the live source for alternateMedia.
- Parameters:
liveSourceName
- The name of the live source for alternateMedia.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vodSourceName
The name of the VOD source for alternateMedia.
- Parameters:
vodSourceName
- The name of the VOD source for alternateMedia.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clipRange
Sets the value of the ClipRange property for this object.- Parameters:
clipRange
- The new value for the ClipRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clipRange
Sets the value of the ClipRange property for this object. This is a convenience method that creates an instance of theClipRange.Builder
avoiding the need to create one manually viaClipRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclipRange(ClipRange)
.- Parameters:
clipRange
- a consumer that will call methods onClipRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduledStartTimeMillis
The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
- Parameters:
scheduledStartTimeMillis
- The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adBreaks
Ad break configuration parameters defined in AlternateMedia.
- Parameters:
adBreaks
- Ad break configuration parameters defined in AlternateMedia.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adBreaks
Ad break configuration parameters defined in AlternateMedia.
- Parameters:
adBreaks
- Ad break configuration parameters defined in AlternateMedia.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adBreaks
Ad break configuration parameters defined in AlternateMedia.
This is a convenience method that creates an instance of theAdBreak.Builder
avoiding the need to create one manually viaAdBreak.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadBreaks(List<AdBreak>)
.- Parameters:
adBreaks
- a consumer that will call methods onAdBreak.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
durationMillis
The duration of the alternateMedia in milliseconds.
- Parameters:
durationMillis
- The duration of the alternateMedia in milliseconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-