Class CfnPrefetchSchedule.RecurringRetrievalProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnPrefetchSchedule.RecurringRetrievalProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrefetchSchedule.RecurringRetrievalProperty>
- Enclosing interface:
CfnPrefetchSchedule.RecurringRetrievalProperty
@Stability(Stable)
public static final class CfnPrefetchSchedule.RecurringRetrievalProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrefetchSchedule.RecurringRetrievalProperty>
A builder for
CfnPrefetchSchedule.RecurringRetrievalProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.delayAfterAvailEndSeconds(Number delayAfterAvailEndSeconds) dynamicVariables(Map<String, String> dynamicVariables) Sets the value ofCfnPrefetchSchedule.RecurringRetrievalProperty.getDynamicVariables()dynamicVariables(IResolvable dynamicVariables) Sets the value ofCfnPrefetchSchedule.RecurringRetrievalProperty.getDynamicVariables()trafficShapingRetrievalWindow(IResolvable trafficShapingRetrievalWindow) trafficShapingRetrievalWindow(CfnPrefetchSchedule.TrafficShapingRetrievalWindowProperty trafficShapingRetrievalWindow) trafficShapingTpsConfiguration(IResolvable trafficShapingTpsConfiguration) trafficShapingTpsConfiguration(CfnPrefetchSchedule.TrafficShapingTpsConfigurationProperty trafficShapingTpsConfiguration) trafficShapingType(String trafficShapingType) Sets the value ofCfnPrefetchSchedule.RecurringRetrievalProperty.getTrafficShapingType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
delayAfterAvailEndSeconds
@Stability(Stable) public CfnPrefetchSchedule.RecurringRetrievalProperty.Builder delayAfterAvailEndSeconds(Number delayAfterAvailEndSeconds) - 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 CfnPrefetchSchedule.RecurringRetrievalProperty.Builder dynamicVariables(IResolvable dynamicVariables) Sets the value ofCfnPrefetchSchedule.RecurringRetrievalProperty.getDynamicVariables()- Parameters:
dynamicVariables- The dynamic variables to use for substitution during prefetch requests to the ADS.- Returns:
this
-
dynamicVariables
@Stability(Stable) public CfnPrefetchSchedule.RecurringRetrievalProperty.Builder dynamicVariables(Map<String, String> dynamicVariables) Sets the value ofCfnPrefetchSchedule.RecurringRetrievalProperty.getDynamicVariables()- Parameters:
dynamicVariables- The dynamic variables to use for substitution during prefetch requests to the ADS.- Returns:
this
-
trafficShapingRetrievalWindow
@Stability(Stable) public CfnPrefetchSchedule.RecurringRetrievalProperty.Builder trafficShapingRetrievalWindow(IResolvable trafficShapingRetrievalWindow) - Parameters:
trafficShapingRetrievalWindow- the value to be set.- Returns:
this
-
trafficShapingRetrievalWindow
@Stability(Stable) public CfnPrefetchSchedule.RecurringRetrievalProperty.Builder trafficShapingRetrievalWindow(CfnPrefetchSchedule.TrafficShapingRetrievalWindowProperty trafficShapingRetrievalWindow) - Parameters:
trafficShapingRetrievalWindow- the value to be set.- Returns:
this
-
trafficShapingTpsConfiguration
@Stability(Stable) public CfnPrefetchSchedule.RecurringRetrievalProperty.Builder trafficShapingTpsConfiguration(IResolvable trafficShapingTpsConfiguration) Sets the value ofCfnPrefetchSchedule.RecurringRetrievalProperty.getTrafficShapingTpsConfiguration()- Parameters:
trafficShapingTpsConfiguration- the value to be set.- Returns:
this
-
trafficShapingTpsConfiguration
@Stability(Stable) public CfnPrefetchSchedule.RecurringRetrievalProperty.Builder trafficShapingTpsConfiguration(CfnPrefetchSchedule.TrafficShapingTpsConfigurationProperty trafficShapingTpsConfiguration) Sets the value ofCfnPrefetchSchedule.RecurringRetrievalProperty.getTrafficShapingTpsConfiguration()- Parameters:
trafficShapingTpsConfiguration- the value to be set.- Returns:
this
-
trafficShapingType
@Stability(Stable) public CfnPrefetchSchedule.RecurringRetrievalProperty.Builder trafficShapingType(String trafficShapingType) Sets the value ofCfnPrefetchSchedule.RecurringRetrievalProperty.getTrafficShapingType()- 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<CfnPrefetchSchedule.RecurringRetrievalProperty>- Returns:
- a new instance of
CfnPrefetchSchedule.RecurringRetrievalProperty - Throws:
NullPointerException- if any required attribute was not provided
-