Interface UpdateAdConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAdConfigurationRequest.Builder,,UpdateAdConfigurationRequest> IvsRequest.Builder,SdkBuilder<UpdateAdConfigurationRequest.Builder,,UpdateAdConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAdConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionARN of the ad configuration to be updated.mediaTailorPlaybackConfigurations(Collection<MediaTailorPlaybackConfiguration> mediaTailorPlaybackConfigurations) List of integration configurations with MediaTailor resources.mediaTailorPlaybackConfigurations(Consumer<MediaTailorPlaybackConfiguration.Builder>... mediaTailorPlaybackConfigurations) List of integration configurations with MediaTailor resources.mediaTailorPlaybackConfigurations(MediaTailorPlaybackConfiguration... mediaTailorPlaybackConfigurations) List of integration configurations with MediaTailor resources.Ad configuration name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.ivs.model.IvsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
ARN of the ad configuration to be updated.
- Parameters:
arn- ARN of the ad configuration to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Ad configuration name. The value does not need to be unique.
- Parameters:
name- Ad configuration name. The value does not need to be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaTailorPlaybackConfigurations
UpdateAdConfigurationRequest.Builder mediaTailorPlaybackConfigurations(Collection<MediaTailorPlaybackConfiguration> mediaTailorPlaybackConfigurations) List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration. To select a different configuration per viewing session, see Generate and Sign IVS Playback Tokens.
- Parameters:
mediaTailorPlaybackConfigurations- List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration. To select a different configuration per viewing session, see Generate and Sign IVS Playback Tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaTailorPlaybackConfigurations
UpdateAdConfigurationRequest.Builder mediaTailorPlaybackConfigurations(MediaTailorPlaybackConfiguration... mediaTailorPlaybackConfigurations) List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration. To select a different configuration per viewing session, see Generate and Sign IVS Playback Tokens.
- Parameters:
mediaTailorPlaybackConfigurations- List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration. To select a different configuration per viewing session, see Generate and Sign IVS Playback Tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaTailorPlaybackConfigurations
UpdateAdConfigurationRequest.Builder mediaTailorPlaybackConfigurations(Consumer<MediaTailorPlaybackConfiguration.Builder>... mediaTailorPlaybackConfigurations) List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration. To select a different configuration per viewing session, see Generate and Sign IVS Playback Tokens.
This is a convenience method that creates an instance of theMediaTailorPlaybackConfiguration.Builderavoiding the need to create one manually viaMediaTailorPlaybackConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomediaTailorPlaybackConfigurations(List<MediaTailorPlaybackConfiguration>).- Parameters:
mediaTailorPlaybackConfigurations- a consumer that will call methods onMediaTailorPlaybackConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAdConfigurationRequest.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
UpdateAdConfigurationRequest.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.
-