public static interface CreateLbCookieStickinessPolicyRequest.Builder extends ElasticLoadBalancingRequest.Builder, CopyableBuilder<CreateLbCookieStickinessPolicyRequest.Builder,CreateLbCookieStickinessPolicyRequest>
Modifier and Type | Method and 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateLbCookieStickinessPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateLbCookieStickinessPolicyRequest.Builder |
policyName(String policyName)
The name of the policy being created.
|
build
overrideConfiguration
copy
applyMutation, 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.CreateLbCookieStickinessPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateLbCookieStickinessPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.