Class CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty>
- Enclosing interface:
CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty
@Stability(Stable)
public static final class CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maximumTtl
(Number maximumTtl)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
idleTtl
@Stability(Stable) public CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty.Builder idleTtl(Number idleTtl) - Parameters:
idleTtl
- The amount of time after which you want sessions to cease if no requests are received. This parameter is required. Allowed values are 300–3600 seconds (5–60 minutes).- Returns:
this
-
maximumTtl
@Stability(Stable) public CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty.Builder maximumTtl(Number maximumTtl) - Parameters:
maximumTtl
- The maximum amount of time to consider requests from the viewer as being part of the same session. This parameter is required. Allowed values are 300–3600 seconds (5–60 minutes).- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty>
- Returns:
- a new instance of
CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-