Interface CreateProgramRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateProgramRequest.Builder,,CreateProgramRequest> MediaTailorRequest.Builder,SdkBuilder<CreateProgramRequest.Builder,,CreateProgramRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProgramRequest
public static interface CreateProgramRequest.Builder
extends MediaTailorRequest.Builder, SdkPojo, CopyableBuilder<CreateProgramRequest.Builder,CreateProgramRequest>
-
Method Summary
Modifier and TypeMethodDescriptionadBreaks(Collection<AdBreak> adBreaks) The ad break configuration settings.adBreaks(Consumer<AdBreak.Builder>... adBreaks) The ad break configuration settings.The ad break configuration settings.channelName(String channelName) The name of the channel for this Program.liveSourceName(String liveSourceName) The name of the LiveSource for this Program.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.programName(String programName) The name of the Program.default CreateProgramRequest.BuilderscheduleConfiguration(Consumer<ScheduleConfiguration.Builder> scheduleConfiguration) The schedule configuration settings.scheduleConfiguration(ScheduleConfiguration scheduleConfiguration) The schedule configuration settings.sourceLocationName(String sourceLocationName) The name of the source location.vodSourceName(String vodSourceName) The name that's used to refer to a VOD source.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
adBreaks
The ad break configuration settings.
- Parameters:
adBreaks- The ad break configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adBreaks
The ad break configuration settings.
- Parameters:
adBreaks- The ad break configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adBreaks
The ad break configuration settings.
This is a convenience method that creates an instance of theAdBreak.Builderavoiding the need to create one manually viaAdBreak.builder().When the
Consumercompletes,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:
-
channelName
The name of the channel for this Program.
- Parameters:
channelName- The name of the channel for this Program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
liveSourceName
The name of the LiveSource for this Program.
- Parameters:
liveSourceName- The name of the LiveSource for this 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.
-
scheduleConfiguration
The schedule configuration settings.
- Parameters:
scheduleConfiguration- The schedule configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfiguration
default CreateProgramRequest.Builder scheduleConfiguration(Consumer<ScheduleConfiguration.Builder> scheduleConfiguration) The schedule configuration settings.
This is a convenience method that creates an instance of theScheduleConfiguration.Builderavoiding the need to create one manually viaScheduleConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduleConfiguration(ScheduleConfiguration).- Parameters:
scheduleConfiguration- a consumer that will call methods onScheduleConfiguration.Builder- 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 that's used to refer to a VOD source.
- Parameters:
vodSourceName- The name that's used to refer to a VOD source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateProgramRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateProgramRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-