@Generated(value="software.amazon.awssdk:codegen") public final class ModifyTargetGroupRequest extends ElasticLoadBalancingV2Request implements ToCopyableBuilder<ModifyTargetGroupRequest.Builder,ModifyTargetGroupRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyTargetGroupRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ModifyTargetGroupRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
healthCheckEnabled()
Indicates whether health checks are enabled.
|
Integer |
healthCheckIntervalSeconds()
The approximate amount of time, in seconds, between health checks of an individual target.
|
String |
healthCheckPath()
[HTTP/HTTPS health checks] The destination for health checks on the targets.
|
String |
healthCheckPort()
The port the load balancer uses when performing health checks on targets.
|
ProtocolEnum |
healthCheckProtocol()
The protocol the load balancer uses when performing health checks on targets.
|
String |
healthCheckProtocolAsString()
The protocol the load balancer uses when performing health checks on targets.
|
Integer |
healthCheckTimeoutSeconds()
[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
|
Integer |
healthyThresholdCount()
The number of consecutive health checks successes required before considering an unhealthy target healthy.
|
Matcher |
matcher()
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModifyTargetGroupRequest.Builder> |
serializableBuilderClass() |
String |
targetGroupArn()
The Amazon Resource Name (ARN) of the target group.
|
ModifyTargetGroupRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
unhealthyThresholdCount()
The number of consecutive health check failures required before considering the target unhealthy.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String targetGroupArn()
The Amazon Resource Name (ARN) of the target group.
public final ProtocolEnum healthCheckProtocol()
The protocol the load balancer uses when performing health checks on targets. The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
With Network Load Balancers, you can't modify this setting.
If the service returns an enum value that is not available in the current SDK version,
healthCheckProtocol will return ProtocolEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from healthCheckProtocolAsString().
With Network Load Balancers, you can't modify this setting.
ProtocolEnumpublic final String healthCheckProtocolAsString()
The protocol the load balancer uses when performing health checks on targets. The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
With Network Load Balancers, you can't modify this setting.
If the service returns an enum value that is not available in the current SDK version,
healthCheckProtocol will return ProtocolEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from healthCheckProtocolAsString().
With Network Load Balancers, you can't modify this setting.
ProtocolEnumpublic final String healthCheckPort()
The port the load balancer uses when performing health checks on targets.
public final String healthCheckPath()
[HTTP/HTTPS health checks] The destination for health checks on the targets.
[HTTP1 or HTTP2 protocol version] The ping path. The default is /.
[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.
[HTTP1 or HTTP2 protocol version] The ping path. The default is /.
[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.
public final Boolean healthCheckEnabled()
Indicates whether health checks are enabled.
public final Integer healthCheckIntervalSeconds()
The approximate amount of time, in seconds, between health checks of an individual target. For TCP health checks, the supported values are 10 or 30 seconds.
With Network Load Balancers, you can't modify this setting.
With Network Load Balancers, you can't modify this setting.
public final Integer healthCheckTimeoutSeconds()
[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
With Network Load Balancers, you can't modify this setting.
With Network Load Balancers, you can't modify this setting.
public final Integer healthyThresholdCount()
The number of consecutive health checks successes required before considering an unhealthy target healthy.
public final Integer unhealthyThresholdCount()
The number of consecutive health check failures required before considering the target unhealthy. For target groups with a protocol of TCP or TLS, this value must be the same as the healthy threshold count.
public final Matcher matcher()
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.
With Network Load Balancers, you can't modify this setting.
With Network Load Balancers, you can't modify this setting.
public ModifyTargetGroupRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModifyTargetGroupRequest.Builder,ModifyTargetGroupRequest>toBuilder in class ElasticLoadBalancingV2Requestpublic static ModifyTargetGroupRequest.Builder builder()
public static Class<? extends ModifyTargetGroupRequest.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 © 2021. All rights reserved.