Class CfnChannel.TimeShiftConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnChannel.TimeShiftConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.TimeShiftConfigurationProperty>
- Enclosing interface:
CfnChannel.TimeShiftConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.TimeShiftConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.TimeShiftConfigurationProperty>
A builder for
CfnChannel.TimeShiftConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxTimeDelaySeconds(Number maxTimeDelaySeconds) Sets the value ofCfnChannel.TimeShiftConfigurationProperty.getMaxTimeDelaySeconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxTimeDelaySeconds
@Stability(Stable) public CfnChannel.TimeShiftConfigurationProperty.Builder maxTimeDelaySeconds(Number maxTimeDelaySeconds) Sets the value ofCfnChannel.TimeShiftConfigurationProperty.getMaxTimeDelaySeconds()- Parameters:
maxTimeDelaySeconds- The maximum time delay for time-shifted viewing. This parameter is required. The minimum allowed maximum time delay is 0 seconds, and the maximum allowed maximum time delay is 21600 seconds (6 hours).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.TimeShiftConfigurationProperty>- Returns:
- a new instance of
CfnChannel.TimeShiftConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-