Class CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty>
- Enclosing interface:
CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty
@Stability(Stable)
public static final class CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty>
A builder for
CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.delayAfterAvailEndSeconds(Number delayAfterAvailEndSeconds) dynamicVariables(Map<String, String> dynamicVariables) dynamicVariables(IResolvable dynamicVariables) trafficShapingRetrievalWindow(CfnPrefetchSchedulePropsMixin.TrafficShapingRetrievalWindowProperty trafficShapingRetrievalWindow) trafficShapingRetrievalWindow(IResolvable trafficShapingRetrievalWindow) trafficShapingTpsConfiguration(CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty trafficShapingTpsConfiguration) trafficShapingTpsConfiguration(IResolvable trafficShapingTpsConfiguration) trafficShapingType(String trafficShapingType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
delayAfterAvailEndSeconds
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.Builder delayAfterAvailEndSeconds(Number delayAfterAvailEndSeconds) Sets the value ofCfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.getDelayAfterAvailEndSeconds()- Parameters:
delayAfterAvailEndSeconds- The number of seconds that MediaTailor waits after an ad avail before prefetching ads for the next avail.- Returns:
this
-
dynamicVariables
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.Builder dynamicVariables(IResolvable dynamicVariables) - Parameters:
dynamicVariables- The dynamic variables to use for substitution during prefetch requests to the ADS.- Returns:
this
-
dynamicVariables
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.Builder dynamicVariables(Map<String, String> dynamicVariables) - Parameters:
dynamicVariables- The dynamic variables to use for substitution during prefetch requests to the ADS.- Returns:
this
-
trafficShapingRetrievalWindow
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.Builder trafficShapingRetrievalWindow(IResolvable trafficShapingRetrievalWindow) Sets the value ofCfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.getTrafficShapingRetrievalWindow()- Parameters:
trafficShapingRetrievalWindow- the value to be set.- Returns:
this
-
trafficShapingRetrievalWindow
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.Builder trafficShapingRetrievalWindow(CfnPrefetchSchedulePropsMixin.TrafficShapingRetrievalWindowProperty trafficShapingRetrievalWindow) Sets the value ofCfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.getTrafficShapingRetrievalWindow()- Parameters:
trafficShapingRetrievalWindow- the value to be set.- Returns:
this
-
trafficShapingTpsConfiguration
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.Builder trafficShapingTpsConfiguration(IResolvable trafficShapingTpsConfiguration) Sets the value ofCfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.getTrafficShapingTpsConfiguration()- Parameters:
trafficShapingTpsConfiguration- the value to be set.- Returns:
this
-
trafficShapingTpsConfiguration
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.Builder trafficShapingTpsConfiguration(CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty trafficShapingTpsConfiguration) Sets the value ofCfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.getTrafficShapingTpsConfiguration()- Parameters:
trafficShapingTpsConfiguration- the value to be set.- Returns:
this
-
trafficShapingType
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty.Builder trafficShapingType(String trafficShapingType) - Parameters:
trafficShapingType- Indicates the type of traffic shaping used to limit the number of requests to the ADS at one time.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty>- Returns:
- a new instance of
CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty - Throws:
NullPointerException- if any required attribute was not provided
-