Interface CreateLbCookieStickinessPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLbCookieStickinessPolicyRequest.Builder,CreateLbCookieStickinessPolicyRequest>
,ElasticLoadBalancingRequest.Builder
,SdkBuilder<CreateLbCookieStickinessPolicyRequest.Builder,CreateLbCookieStickinessPolicyRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateLbCookieStickinessPolicyRequest
public static interface CreateLbCookieStickinessPolicyRequest.Builder extends ElasticLoadBalancingRequest.Builder, SdkPojo, CopyableBuilder<CreateLbCookieStickinessPolicyRequest.Builder,CreateLbCookieStickinessPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateLbCookieStickinessPolicyRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateLbCookieStickinessPolicyRequest.Builder
policyName(String policyName)
The name of the policy being created.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticloadbalancing.model.ElasticLoadBalancingRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
loadBalancerName
CreateLbCookieStickinessPolicyRequest.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer.
- Parameters:
loadBalancerName
- The name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyName
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cookieExpirationPeriod
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateLbCookieStickinessPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLbCookieStickinessPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-