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 |
policyName(String policyName)
The name of the policy being created.
|
CreateLBCookieStickinessPolicyRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateLBCookieStickinessPolicyRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
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.CreateLBCookieStickinessPolicyRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateLBCookieStickinessPolicyRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.