CopyableBuilder<CreateLBCookieStickinessPolicyRequest.Builder,CreateLBCookieStickinessPolicyRequest>
, SdkBuilder<CreateLBCookieStickinessPolicyRequest.Builder,CreateLBCookieStickinessPolicyRequest>
public static interface CreateLBCookieStickinessPolicyRequest.Builder extends CopyableBuilder<CreateLBCookieStickinessPolicyRequest.Builder,CreateLBCookieStickinessPolicyRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateLBCookieStickinessPolicyRequest.Builder |
cookieExpirationPeriod(Long cookieExpirationPeriod) |
The time period, in seconds, after which the cookie should be considered stale.
|
CreateLBCookieStickinessPolicyRequest.Builder |
loadBalancerName(String loadBalancerName) |
The name of the load balancer.
|
CreateLBCookieStickinessPolicyRequest.Builder |
policyName(String policyName) |
The name of the policy being created.
|
copy
apply, build
CreateLBCookieStickinessPolicyRequest.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.CreateLBCookieStickinessPolicyRequest.Builder policyName(String policyName)
The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.
policyName
- The name of the policy being created. Policy names must consist of alphanumeric characters and dashes
(-). This name must be unique within the set of policies for this load balancer.CreateLBCookieStickinessPolicyRequest.Builder cookieExpirationPeriod(Long cookieExpirationPeriod)
The time period, in seconds, after which the cookie should be considered stale. If you do not specify this parameter, the default value is 0, which indicates that the sticky session should last for the duration of the browser session.
cookieExpirationPeriod
- The time period, in seconds, after which the cookie should be considered stale. If you do not specify
this parameter, the default value is 0, which indicates that the sticky session should last for the
duration of the browser session.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.