Interface AwsElbLbCookieStickinessPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsElbLbCookieStickinessPolicy.Builder,
,AwsElbLbCookieStickinessPolicy> SdkBuilder<AwsElbLbCookieStickinessPolicy.Builder,
,AwsElbLbCookieStickinessPolicy> SdkPojo
- Enclosing class:
AwsElbLbCookieStickinessPolicy
public static interface AwsElbLbCookieStickinessPolicy.Builder
extends SdkPojo, CopyableBuilder<AwsElbLbCookieStickinessPolicy.Builder,AwsElbLbCookieStickinessPolicy>
-
Method Summary
Modifier and TypeMethodDescriptioncookieExpirationPeriod
(Long cookieExpirationPeriod) The amount of time, in seconds, after which the cookie is 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
-
cookieExpirationPeriod
The amount of time, in seconds, after which the cookie is considered stale. If an expiration period is not specified, the stickiness session lasts for the duration of the browser session.
- Parameters:
cookieExpirationPeriod
- The amount of time, in seconds, after which the cookie is considered stale. If an expiration period 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.
-
policyName
The name of the policy. The name must be unique within the set of policies for the load balancer.
- Parameters:
policyName
- The name of the policy. The name must be unique within the set of policies for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-