Class CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty>
- Enclosing interface:
CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty
@Stability(Stable)
public static final class CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailMatchingCriteria(List<? extends Object> availMatchingCriteria) availMatchingCriteria(IResolvable availMatchingCriteria) build()Builds the configured instance.Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.getEndTime()Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availMatchingCriteria
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.Builder availMatchingCriteria(IResolvable availMatchingCriteria) Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.getAvailMatchingCriteria()- Parameters:
availMatchingCriteria- If you only want MediaTailor to insert prefetched ads into avails that match specific dynamic variables, set the avail matching criteria.- Returns:
this
-
availMatchingCriteria
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.Builder availMatchingCriteria(List<? extends Object> availMatchingCriteria) Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.getAvailMatchingCriteria()- Parameters:
availMatchingCriteria- If you only want MediaTailor to insert prefetched ads into avails that match specific dynamic variables, set the avail matching criteria.- Returns:
this
-
endTime
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.Builder endTime(String endTime) Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.getEndTime()- Parameters:
endTime- The time when MediaTailor no longer considers the prefetched ads for use in an ad break, as an ISO 8601 date-time.- Returns:
this
-
startTime
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.Builder startTime(String startTime) Sets the value ofCfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty.getStartTime()- Parameters:
startTime- The time when prefetched ads are considered for use in an ad break, as an ISO 8601 date-time.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty>- Returns:
- a new instance of
CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-