@Generated(value="software.amazon.awssdk:codegen") public final class UpdateLoadBalancerAttributeRequest extends LightsailRequest implements ToCopyableBuilder<UpdateLoadBalancerAttributeRequest.Builder,UpdateLoadBalancerAttributeRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateLoadBalancerAttributeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
LoadBalancerAttributeName |
attributeName()
The name of the attribute you want to update.
|
String |
attributeNameAsString()
The name of the attribute you want to update.
|
String |
attributeValue()
The value that you want to specify for the attribute name.
|
static UpdateLoadBalancerAttributeRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
loadBalancerName()
The name of the load balancer that you want to modify (e.g.,
my-load-balancer. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateLoadBalancerAttributeRequest.Builder> |
serializableBuilderClass() |
UpdateLoadBalancerAttributeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String loadBalancerName()
The name of the load balancer that you want to modify (e.g., my-load-balancer.
my-load-balancer.public final LoadBalancerAttributeName attributeName()
The name of the attribute you want to update.
If the service returns an enum value that is not available in the current SDK version, attributeName
will return LoadBalancerAttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from attributeNameAsString().
LoadBalancerAttributeNamepublic final String attributeNameAsString()
The name of the attribute you want to update.
If the service returns an enum value that is not available in the current SDK version, attributeName
will return LoadBalancerAttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from attributeNameAsString().
LoadBalancerAttributeNamepublic final 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 attributeName request
parameter:
If you specify HealthCheckPath for the attributeName request parameter, then the
attributeValue request parameter must be the path to ping on the target (for example,
/weather/us/wa/seattle).
If you specify SessionStickinessEnabled for the attributeName request parameter, then
the attributeValue request parameter must be true to activate session stickiness or
false to deactivate session stickiness.
If you specify SessionStickiness_LB_CookieDurationSeconds for the attributeName request
parameter, then the attributeValue request parameter must be an interger that represents the cookie
duration in seconds.
If you specify HttpsRedirectionEnabled for the attributeName request parameter, then
the attributeValue request parameter must be true to activate HTTP to HTTPS redirection
or false to deactivate HTTP to HTTPS redirection.
If you specify TlsPolicyName for the attributeName request parameter, then the
attributeValue 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.
The following values are supported depending on what you specify for the attributeName
request parameter:
If you specify HealthCheckPath for the attributeName request parameter, then
the attributeValue request parameter must be the path to ping on the target (for example,
/weather/us/wa/seattle).
If you specify SessionStickinessEnabled for the attributeName request
parameter, then the attributeValue request parameter must be true to activate
session stickiness or false to deactivate session stickiness.
If you specify SessionStickiness_LB_CookieDurationSeconds for the attributeName
request parameter, then the attributeValue request parameter must be an interger that
represents the cookie duration in seconds.
If you specify HttpsRedirectionEnabled for the attributeName request parameter,
then the attributeValue request parameter must be true to activate HTTP to
HTTPS redirection or false to deactivate HTTP to HTTPS redirection.
If you specify TlsPolicyName for the attributeName request parameter, then the
attributeValue 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.
public UpdateLoadBalancerAttributeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateLoadBalancerAttributeRequest.Builder,UpdateLoadBalancerAttributeRequest>toBuilder in class LightsailRequestpublic static UpdateLoadBalancerAttributeRequest.Builder builder()
public static Class<? extends UpdateLoadBalancerAttributeRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.