@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyTargetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyTargetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyTargetGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getHealthCheckEnabled()
Indicates whether health checks are enabled.
|
Integer |
getHealthCheckIntervalSeconds()
The approximate amount of time, in seconds, between health checks of an individual target.
|
String |
getHealthCheckPath()
[HTTP/HTTPS health checks] The destination for health checks on the targets.
|
String |
getHealthCheckPort()
The port the load balancer uses when performing health checks on targets.
|
String |
getHealthCheckProtocol()
The protocol the load balancer uses when performing health checks on targets.
|
Integer |
getHealthCheckTimeoutSeconds()
[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
|
Integer |
getHealthyThresholdCount()
The number of consecutive health checks successes required before considering an unhealthy target healthy.
|
Matcher |
getMatcher()
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.
|
String |
getTargetGroupArn()
The Amazon Resource Name (ARN) of the target group.
|
Integer |
getUnhealthyThresholdCount()
The number of consecutive health check failures required before considering the target unhealthy.
|
int |
hashCode() |
Boolean |
isHealthCheckEnabled()
Indicates whether health checks are enabled.
|
void |
setHealthCheckEnabled(Boolean healthCheckEnabled)
Indicates whether health checks are enabled.
|
void |
setHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The approximate amount of time, in seconds, between health checks of an individual target.
|
void |
setHealthCheckPath(String healthCheckPath)
[HTTP/HTTPS health checks] The destination for health checks on the targets.
|
void |
setHealthCheckPort(String healthCheckPort)
The port the load balancer uses when performing health checks on targets.
|
void |
setHealthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets.
|
void |
setHealthCheckProtocol(String healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets.
|
void |
setHealthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)
[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
|
void |
setHealthyThresholdCount(Integer healthyThresholdCount)
The number of consecutive health checks successes required before considering an unhealthy target healthy.
|
void |
setMatcher(Matcher matcher)
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.
|
void |
setTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
|
void |
setUnhealthyThresholdCount(Integer unhealthyThresholdCount)
The number of consecutive health check failures required before considering the target unhealthy.
|
String |
toString()
Returns a string representation of this object.
|
ModifyTargetGroupRequest |
withHealthCheckEnabled(Boolean healthCheckEnabled)
Indicates whether health checks are enabled.
|
ModifyTargetGroupRequest |
withHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The approximate amount of time, in seconds, between health checks of an individual target.
|
ModifyTargetGroupRequest |
withHealthCheckPath(String healthCheckPath)
[HTTP/HTTPS health checks] The destination for health checks on the targets.
|
ModifyTargetGroupRequest |
withHealthCheckPort(String healthCheckPort)
The port the load balancer uses when performing health checks on targets.
|
ModifyTargetGroupRequest |
withHealthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets.
|
ModifyTargetGroupRequest |
withHealthCheckProtocol(String healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets.
|
ModifyTargetGroupRequest |
withHealthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)
[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
|
ModifyTargetGroupRequest |
withHealthyThresholdCount(Integer healthyThresholdCount)
The number of consecutive health checks successes required before considering an unhealthy target healthy.
|
ModifyTargetGroupRequest |
withMatcher(Matcher matcher)
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.
|
ModifyTargetGroupRequest |
withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
|
ModifyTargetGroupRequest |
withUnhealthyThresholdCount(Integer unhealthyThresholdCount)
The number of consecutive health check failures required before considering the target unhealthy.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
targetGroupArn
- The Amazon Resource Name (ARN) of the target group.public String getTargetGroupArn()
The Amazon Resource Name (ARN) of the target group.
public ModifyTargetGroupRequest withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
targetGroupArn
- The Amazon Resource Name (ARN) of the target group.public void setHealthCheckProtocol(String healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It 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.
healthCheckProtocol
- The protocol the load balancer uses when performing health checks on targets. For Application Load
Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP.
The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS.
It 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.ProtocolEnum
public String getHealthCheckProtocol()
The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It 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.
ProtocolEnum
public ModifyTargetGroupRequest withHealthCheckProtocol(String healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It 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.
healthCheckProtocol
- The protocol the load balancer uses when performing health checks on targets. For Application Load
Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP.
The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS.
It 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.ProtocolEnum
public void setHealthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It 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.
healthCheckProtocol
- The protocol the load balancer uses when performing health checks on targets. For Application Load
Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP.
The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS.
It 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.ProtocolEnum
public ModifyTargetGroupRequest withHealthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It 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.
healthCheckProtocol
- The protocol the load balancer uses when performing health checks on targets. For Application Load
Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP.
The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS.
It 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.ProtocolEnum
public void setHealthCheckPort(String healthCheckPort)
The port the load balancer uses when performing health checks on targets.
healthCheckPort
- The port the load balancer uses when performing health checks on targets.public String getHealthCheckPort()
The port the load balancer uses when performing health checks on targets.
public ModifyTargetGroupRequest withHealthCheckPort(String healthCheckPort)
The port the load balancer uses when performing health checks on targets.
healthCheckPort
- The port the load balancer uses when performing health checks on targets.public void setHealthCheckPath(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 /Amazon Web Services.ALB/healthcheck.
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 /Amazon Web Services.ALB/healthcheck.
public String getHealthCheckPath()
[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 /Amazon Web Services.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 /Amazon Web Services.ALB/healthcheck.
public ModifyTargetGroupRequest withHealthCheckPath(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 /Amazon Web Services.ALB/healthcheck.
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 /Amazon Web Services.ALB/healthcheck.
public void setHealthCheckEnabled(Boolean healthCheckEnabled)
Indicates whether health checks are enabled.
healthCheckEnabled
- Indicates whether health checks are enabled.public Boolean getHealthCheckEnabled()
Indicates whether health checks are enabled.
public ModifyTargetGroupRequest withHealthCheckEnabled(Boolean healthCheckEnabled)
Indicates whether health checks are enabled.
healthCheckEnabled
- Indicates whether health checks are enabled.public Boolean isHealthCheckEnabled()
Indicates whether health checks are enabled.
public void setHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The approximate amount of time, in seconds, between health checks of an individual target.
healthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an individual target.public Integer getHealthCheckIntervalSeconds()
The approximate amount of time, in seconds, between health checks of an individual target.
public ModifyTargetGroupRequest withHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The approximate amount of time, in seconds, between health checks of an individual target.
healthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an individual target.public void setHealthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)
[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
healthCheckTimeoutSeconds
- [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health
check.public Integer getHealthCheckTimeoutSeconds()
[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
public ModifyTargetGroupRequest withHealthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)
[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
healthCheckTimeoutSeconds
- [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health
check.public void setHealthyThresholdCount(Integer healthyThresholdCount)
The number of consecutive health checks successes required before considering an unhealthy target healthy.
healthyThresholdCount
- The number of consecutive health checks successes required before considering an unhealthy target healthy.public Integer getHealthyThresholdCount()
The number of consecutive health checks successes required before considering an unhealthy target healthy.
public ModifyTargetGroupRequest withHealthyThresholdCount(Integer healthyThresholdCount)
The number of consecutive health checks successes required before considering an unhealthy target healthy.
healthyThresholdCount
- The number of consecutive health checks successes required before considering an unhealthy target healthy.public void setUnhealthyThresholdCount(Integer unhealthyThresholdCount)
The number of consecutive health check failures required before considering the target unhealthy.
unhealthyThresholdCount
- The number of consecutive health check failures required before considering the target unhealthy.public Integer getUnhealthyThresholdCount()
The number of consecutive health check failures required before considering the target unhealthy.
public ModifyTargetGroupRequest withUnhealthyThresholdCount(Integer unhealthyThresholdCount)
The number of consecutive health check failures required before considering the target unhealthy.
unhealthyThresholdCount
- The number of consecutive health check failures required before considering the target unhealthy.public void setMatcher(Matcher matcher)
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.
matcher
- [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a
target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target
groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of
GENEVE, the range is 200-399.public Matcher getMatcher()
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.
public ModifyTargetGroupRequest withMatcher(Matcher matcher)
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.
matcher
- [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a
target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target
groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of
GENEVE, the range is 200-399.public String toString()
toString
in class Object
Object.toString()
public ModifyTargetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()