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