Class CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty>
- Enclosing interface:
CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty
@Stability(Stable)
public static final class CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.peakConcurrentUsers(Number peakConcurrentUsers)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
peakConcurrentUsers
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty.Builder peakConcurrentUsers(Number peakConcurrentUsers) Sets the value ofCfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty.getPeakConcurrentUsers()- Parameters:
peakConcurrentUsers- The expected peak number of concurrent viewers for your content.- Returns:
this
-
peakTps
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty.Builder peakTps(Number peakTps) - Parameters:
peakTps- The maximum number of transactions per second (TPS) that your ad decision server (ADS) can handle.- Returns:
this
-
build
@Stability(Stable) public CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty>- Returns:
- a new instance of
CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-