Class CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty>
- Enclosing interface:
CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty
@Stability(Stable)
public static final class CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty>
A builder for
CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dynamicVariables(Map<String, String> dynamicVariables) dynamicVariables(IResolvable dynamicVariables) Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.getEndTime()Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.getStartTime()trafficShapingRetrievalWindow(CfnPrefetchSchedulePropsMixin.TrafficShapingRetrievalWindowProperty trafficShapingRetrievalWindow) trafficShapingRetrievalWindow(IResolvable trafficShapingRetrievalWindow) trafficShapingTpsConfiguration(CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty trafficShapingTpsConfiguration) trafficShapingTpsConfiguration(IResolvable trafficShapingTpsConfiguration) trafficShapingType(String trafficShapingType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dynamicVariables
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.Builder dynamicVariables(IResolvable dynamicVariables) - Parameters:
dynamicVariables- The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).- Returns:
this
-
dynamicVariables
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.Builder dynamicVariables(Map<String, String> dynamicVariables) - Parameters:
dynamicVariables- The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).- Returns:
this
-
endTime
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.Builder endTime(String endTime) Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.getEndTime()- Parameters:
endTime- The time when prefetch retrieval ends for the ad break, as an ISO 8601 date-time.- Returns:
this
-
startTime
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.Builder startTime(String startTime) Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.getStartTime()- Parameters:
startTime- The time when prefetch retrievals can start for this break, as an ISO 8601 date-time.- Returns:
this
-
trafficShapingRetrievalWindow
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.Builder trafficShapingRetrievalWindow(IResolvable trafficShapingRetrievalWindow) Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.getTrafficShapingRetrievalWindow()- Parameters:
trafficShapingRetrievalWindow- the value to be set.- Returns:
this
-
trafficShapingRetrievalWindow
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.Builder trafficShapingRetrievalWindow(CfnPrefetchSchedulePropsMixin.TrafficShapingRetrievalWindowProperty trafficShapingRetrievalWindow) Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.getTrafficShapingRetrievalWindow()- Parameters:
trafficShapingRetrievalWindow- the value to be set.- Returns:
this
-
trafficShapingTpsConfiguration
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.Builder trafficShapingTpsConfiguration(IResolvable trafficShapingTpsConfiguration) Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.getTrafficShapingTpsConfiguration()- Parameters:
trafficShapingTpsConfiguration- the value to be set.- Returns:
this
-
trafficShapingTpsConfiguration
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.Builder trafficShapingTpsConfiguration(CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty trafficShapingTpsConfiguration) Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.getTrafficShapingTpsConfiguration()- Parameters:
trafficShapingTpsConfiguration- the value to be set.- Returns:
this
-
trafficShapingType
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty.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.PrefetchRetrievalProperty>- Returns:
- a new instance of
CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty - Throws:
NullPointerException- if any required attribute was not provided
-