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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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
attributeNamerequest parameter:-
If you specify
HealthCheckPathfor theattributeNamerequest parameter, then theattributeValuerequest parameter must be the path to ping on the target (for example,/weather/us/wa/seattle). -
If you specify
SessionStickinessEnabledfor theattributeNamerequest parameter, then theattributeValuerequest parameter must betrueto activate session stickiness orfalseto deactivate session stickiness. -
If you specify
SessionStickiness_LB_CookieDurationSecondsfor theattributeNamerequest parameter, then theattributeValuerequest parameter must be an interger that represents the cookie duration in seconds. -
If you specify
HttpsRedirectionEnabledfor theattributeNamerequest parameter, then theattributeValuerequest parameter must betrueto activate HTTP to HTTPS redirection orfalseto deactivate HTTP to HTTPS redirection. -
If you specify
TlsPolicyNamefor theattributeNamerequest parameter, then theattributeValuerequest 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
attributeNamerequest parameter:-
If you specify
HealthCheckPathfor theattributeNamerequest parameter, then theattributeValuerequest parameter must be the path to ping on the target (for example,/weather/us/wa/seattle). -
If you specify
SessionStickinessEnabledfor theattributeNamerequest parameter, then theattributeValuerequest parameter must betrueto activate session stickiness orfalseto deactivate session stickiness. -
If you specify
SessionStickiness_LB_CookieDurationSecondsfor theattributeNamerequest parameter, then theattributeValuerequest parameter must be an interger that represents the cookie duration in seconds. -
If you specify
HttpsRedirectionEnabledfor theattributeNamerequest parameter, then theattributeValuerequest parameter must betrueto activate HTTP to HTTPS redirection orfalseto deactivate HTTP to HTTPS redirection. -
If you specify
TlsPolicyNamefor theattributeNamerequest parameter, then theattributeValuerequest 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-