Interface UpdateLoadBalancerAttributeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLoadBalancerAttributeRequest.Builder,UpdateLoadBalancerAttributeRequest>,LightsailRequest.Builder,SdkBuilder<UpdateLoadBalancerAttributeRequest.Builder,UpdateLoadBalancerAttributeRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateLoadBalancerAttributeRequest
public static interface UpdateLoadBalancerAttributeRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<UpdateLoadBalancerAttributeRequest.Builder,UpdateLoadBalancerAttributeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateLoadBalancerAttributeRequest.BuilderattributeName(String attributeName)The name of the attribute you want to update.UpdateLoadBalancerAttributeRequest.BuilderattributeName(LoadBalancerAttributeName attributeName)The name of the attribute you want to update.UpdateLoadBalancerAttributeRequest.BuilderattributeValue(String attributeValue)The value that you want to specify for the attribute name.UpdateLoadBalancerAttributeRequest.BuilderloadBalancerName(String loadBalancerName)The name of the load balancer that you want to modify (my-load-balancer.UpdateLoadBalancerAttributeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateLoadBalancerAttributeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFields
-
-
-
-
Method Detail
-
loadBalancerName
UpdateLoadBalancerAttributeRequest.Builder loadBalancerName(String 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
UpdateLoadBalancerAttributeRequest.Builder attributeName(String 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:
LoadBalancerAttributeName,LoadBalancerAttributeName
-
attributeName
UpdateLoadBalancerAttributeRequest.Builder attributeName(LoadBalancerAttributeName 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:
LoadBalancerAttributeName,LoadBalancerAttributeName
-
attributeValue
UpdateLoadBalancerAttributeRequest.Builder attributeValue(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateLoadBalancerAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-