Interface UpdateLoadBalancerAttributeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateLoadBalancerAttributeRequest.Builder,
,UpdateLoadBalancerAttributeRequest> LightsailRequest.Builder
,SdkBuilder<UpdateLoadBalancerAttributeRequest.Builder,
,UpdateLoadBalancerAttributeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateLoadBalancerAttributeRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) The name of the attribute you want to update.attributeName
(LoadBalancerAttributeName attributeName) The name of the attribute you want to update.attributeValue
(String attributeValue) The value that you want to specify for the attribute name.loadBalancerName
(String loadBalancerName) The name of the load balancer that you want to modify (my-load-balancer
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.lightsail.model.LightsailRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
loadBalancerName
The name of the load balancer that you want to modify (
my-load-balancer
.- Parameters:
loadBalancerName
- The name of the load balancer that you want to modify (my-load-balancer
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeName
The name of the attribute you want to update.
- Parameters:
attributeName
- The name of the attribute you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeName
The name of the attribute you want to update.
- Parameters:
attributeName
- The name of the attribute you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeValue
The value that you want to specify for the attribute name.
The following values are supported depending on what you specify for the
attributeName
request parameter:-
If you specify
HealthCheckPath
for theattributeName
request parameter, then theattributeValue
request parameter must be the path to ping on the target (for example,/weather/us/wa/seattle
). -
If you specify
SessionStickinessEnabled
for theattributeName
request parameter, then theattributeValue
request parameter must betrue
to activate session stickiness orfalse
to deactivate session stickiness. -
If you specify
SessionStickiness_LB_CookieDurationSeconds
for theattributeName
request parameter, then theattributeValue
request parameter must be an interger that represents the cookie duration in seconds. -
If you specify
HttpsRedirectionEnabled
for theattributeName
request parameter, then theattributeValue
request parameter must betrue
to activate HTTP to HTTPS redirection orfalse
to deactivate HTTP to HTTPS redirection. -
If you specify
TlsPolicyName
for theattributeName
request parameter, then theattributeValue
request parameter must be the name of the TLS policy.Use the GetLoadBalancerTlsPolicies action to get a list of TLS policy names that you can specify.
- Parameters:
attributeValue
- The value that you want to specify for the attribute name.The following values are supported depending on what you specify for the
attributeName
request parameter:-
If you specify
HealthCheckPath
for theattributeName
request parameter, then theattributeValue
request parameter must be the path to ping on the target (for example,/weather/us/wa/seattle
). -
If you specify
SessionStickinessEnabled
for theattributeName
request parameter, then theattributeValue
request parameter must betrue
to activate session stickiness orfalse
to deactivate session stickiness. -
If you specify
SessionStickiness_LB_CookieDurationSeconds
for theattributeName
request parameter, then theattributeValue
request parameter must be an interger that represents the cookie duration in seconds. -
If you specify
HttpsRedirectionEnabled
for theattributeName
request parameter, then theattributeValue
request parameter must betrue
to activate HTTP to HTTPS redirection orfalse
to deactivate HTTP to HTTPS redirection. -
If you specify
TlsPolicyName
for theattributeName
request parameter, then theattributeValue
request parameter must be the name of the TLS policy.Use the GetLoadBalancerTlsPolicies action to get a list of TLS policy names that you can specify.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
UpdateLoadBalancerAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateLoadBalancerAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-