Interface ScheduleEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScheduleEntry.Builder,
,ScheduleEntry> SdkBuilder<ScheduleEntry.Builder,
,ScheduleEntry> SdkPojo
- Enclosing class:
ScheduleEntry
-
Method Summary
Modifier and TypeMethodDescriptionapproximateDurationSeconds
(Long approximateDurationSeconds) The approximate duration of this program, in seconds.approximateStartTime
(Instant approximateStartTime) The approximate time that the program will start playing.The ARN of the program.The list of audiences defined in ScheduleEntry.audiences
(Collection<String> audiences) The list of audiences defined in ScheduleEntry.channelName
(String channelName) The name of the channel that uses this schedule.liveSourceName
(String liveSourceName) The name of the live source used for the program.programName
(String programName) The name of the program.scheduleAdBreaks
(Collection<ScheduleAdBreak> scheduleAdBreaks) The schedule's ad break properties.scheduleAdBreaks
(Consumer<ScheduleAdBreak.Builder>... scheduleAdBreaks) The schedule's ad break properties.scheduleAdBreaks
(ScheduleAdBreak... scheduleAdBreaks) The schedule's ad break properties.scheduleEntryType
(String scheduleEntryType) The type of schedule entry.scheduleEntryType
(ScheduleEntryType scheduleEntryType) The type of schedule entry.sourceLocationName
(String sourceLocationName) The name of the source location.vodSourceName
(String vodSourceName) The name of the VOD source.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, sdkFields
-
Method Details
-
approximateDurationSeconds
The approximate duration of this program, in seconds.
- Parameters:
approximateDurationSeconds
- The approximate duration of this program, in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateStartTime
The approximate time that the program will start playing.
- Parameters:
approximateStartTime
- The approximate time that the program will start playing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the program.
- Parameters:
arn
- The ARN of the program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audiences
The list of audiences defined in ScheduleEntry.
- Parameters:
audiences
- The list of audiences defined in ScheduleEntry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audiences
The list of audiences defined in ScheduleEntry.
- Parameters:
audiences
- The list of audiences defined in ScheduleEntry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelName
The name of the channel that uses this schedule.
- Parameters:
channelName
- The name of the channel that uses this schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
liveSourceName
The name of the live source used for the program.
- Parameters:
liveSourceName
- The name of the live source used for the program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programName
The name of the program.
- Parameters:
programName
- The name of the program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleAdBreaks
The schedule's ad break properties.
- Parameters:
scheduleAdBreaks
- The schedule's ad break properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleAdBreaks
The schedule's ad break properties.
- Parameters:
scheduleAdBreaks
- The schedule's ad break properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleAdBreaks
The schedule's ad break properties.
This is a convenience method that creates an instance of theScheduleAdBreak.Builder
avoiding the need to create one manually viaScheduleAdBreak.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscheduleAdBreaks(List<ScheduleAdBreak>)
.- Parameters:
scheduleAdBreaks
- a consumer that will call methods onScheduleAdBreak.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduleEntryType
The type of schedule entry.
- Parameters:
scheduleEntryType
- The type of schedule entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduleEntryType
The type of schedule entry.
- Parameters:
scheduleEntryType
- The type of schedule entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceLocationName
The name of the source location.
- Parameters:
sourceLocationName
- The name of the source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vodSourceName
The name of the VOD source.
- Parameters:
vodSourceName
- The name of the VOD source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-