Interface LBCookieStickinessPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LBCookieStickinessPolicy.Builder,
,LBCookieStickinessPolicy> SdkBuilder<LBCookieStickinessPolicy.Builder,
,LBCookieStickinessPolicy> SdkPojo
- Enclosing class:
LBCookieStickinessPolicy
public static interface LBCookieStickinessPolicy.Builder
extends SdkPojo, CopyableBuilder<LBCookieStickinessPolicy.Builder,LBCookieStickinessPolicy>
-
Method Summary
Modifier and TypeMethodDescriptioncookieExpirationPeriod
(Long cookieExpirationPeriod) The time period, in seconds, after which the cookie should be considered stale.policyName
(String policyName) The name of the policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
policyName
The name of the policy. This name must be unique within the set of policies for this load balancer.
- Parameters:
policyName
- The name of the policy. This name must be unique within the set of policies for this load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cookieExpirationPeriod
The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
- Parameters:
cookieExpirationPeriod
- The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-