Interface PreRollAdDecisionServerConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PreRollAdDecisionServerConfiguration.Builder,,PreRollAdDecisionServerConfiguration> SdkBuilder<PreRollAdDecisionServerConfiguration.Builder,,PreRollAdDecisionServerConfiguration> SdkPojo
- Enclosing class:
PreRollAdDecisionServerConfiguration
@Mutable
@NotThreadSafe
public static interface PreRollAdDecisionServerConfiguration.Builder
extends SdkPojo, CopyableBuilder<PreRollAdDecisionServerConfiguration.Builder,PreRollAdDecisionServerConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionvastResponse(Consumer<PreRollVastResponse.Builder> vastResponse) The settings that control how MediaTailor processes VAST responses for live pre-roll ad breaks.vastResponse(PreRollVastResponse vastResponse) The settings that control how MediaTailor processes VAST responses for live pre-roll ad breaks.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
vastResponse
The settings that control how MediaTailor processes VAST responses for live pre-roll ad breaks.
- Parameters:
vastResponse- The settings that control how MediaTailor processes VAST responses for live pre-roll ad breaks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vastResponse
default PreRollAdDecisionServerConfiguration.Builder vastResponse(Consumer<PreRollVastResponse.Builder> vastResponse) The settings that control how MediaTailor processes VAST responses for live pre-roll ad breaks.
This is a convenience method that creates an instance of thePreRollVastResponse.Builderavoiding the need to create one manually viaPreRollVastResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovastResponse(PreRollVastResponse).- Parameters:
vastResponse- a consumer that will call methods onPreRollVastResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-