@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 ping path that is the destination for the health check request.
|
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 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 ping path that is the destination for the health check request.
|
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 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 ping path that is the destination for the health check request.
|
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 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. The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The TLS, UDP, and TCP_UDP protocols are not supported for health checks.
With Network Load Balancers, you can't modify this setting.
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
TLS, UDP, and TCP_UDP protocols are not supported for health checks.
With Network Load Balancers, you can't modify this setting.
ProtocolEnum
public String getHealthCheckProtocol()
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 TLS, UDP, and TCP_UDP protocols are not supported for health checks.
With Network Load Balancers, you can't modify this setting.
With Network Load Balancers, you can't modify this setting.
ProtocolEnum
public ModifyTargetGroupRequest withHealthCheckProtocol(String 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 TLS, UDP, and TCP_UDP protocols are not supported for health checks.
With Network Load Balancers, you can't modify this setting.
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
TLS, UDP, and TCP_UDP protocols are not supported for health checks.
With Network Load Balancers, you can't modify this setting.
ProtocolEnum
public void setHealthCheckProtocol(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 TLS, UDP, and TCP_UDP protocols are not supported for health checks.
With Network Load Balancers, you can't modify this setting.
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
TLS, UDP, and TCP_UDP protocols are not supported for health checks.
With Network Load Balancers, you can't modify this setting.
ProtocolEnum
public ModifyTargetGroupRequest withHealthCheckProtocol(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 TLS, UDP, and TCP_UDP protocols are not supported for health checks.
With Network Load Balancers, you can't modify this setting.
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
TLS, UDP, and TCP_UDP protocols are not supported for health checks.
With Network Load Balancers, you can't modify this setting.
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 ping path that is the destination for the health check request.
healthCheckPath
- [HTTP/HTTPS health checks] The ping path that is the destination for the health check request.public String getHealthCheckPath()
[HTTP/HTTPS health checks] The ping path that is the destination for the health check request.
public ModifyTargetGroupRequest withHealthCheckPath(String healthCheckPath)
[HTTP/HTTPS health checks] The ping path that is the destination for the health check request.
healthCheckPath
- [HTTP/HTTPS health checks] The ping path that is the destination for the health check request.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. For Application Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, the supported values are 10 or 30 seconds.
With Network Load Balancers, you can't modify this setting.
healthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an individual target. For Application
Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, the supported values are 10 or
30 seconds.
With Network Load Balancers, you can't modify this setting.
public Integer getHealthCheckIntervalSeconds()
The approximate amount of time, in seconds, between health checks of an individual target. For Application Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, 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 ModifyTargetGroupRequest withHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The approximate amount of time, in seconds, between health checks of an individual target. For Application Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, the supported values are 10 or 30 seconds.
With Network Load Balancers, you can't modify this setting.
healthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an individual target. For Application
Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, the supported values are 10 or
30 seconds.
With Network Load Balancers, you can't modify this setting.
public void setHealthCheckTimeoutSeconds(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.
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.
public Integer getHealthCheckTimeoutSeconds()
[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 ModifyTargetGroupRequest withHealthCheckTimeoutSeconds(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.
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.
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. For Network Load Balancers, this value must be the same as the healthy threshold count.
unhealthyThresholdCount
- The number of consecutive health check failures required before considering the target unhealthy. For
Network Load Balancers, this value must be the same as the healthy threshold count.public Integer getUnhealthyThresholdCount()
The number of consecutive health check failures required before considering the target unhealthy. For Network Load Balancers, this value must be the same as the healthy threshold count.
public ModifyTargetGroupRequest withUnhealthyThresholdCount(Integer unhealthyThresholdCount)
The number of consecutive health check failures required before considering the target unhealthy. For Network Load Balancers, this value must be the same as the healthy threshold count.
unhealthyThresholdCount
- The number of consecutive health check failures required before considering the target unhealthy. For
Network Load Balancers, this value must be the same as the healthy threshold count.public void setMatcher(Matcher matcher)
[HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful response from a target.
With Network Load Balancers, you can't modify this setting.
matcher
- [HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful response from a
target.
With Network Load Balancers, you can't modify this setting.
public Matcher getMatcher()
[HTTP/HTTPS health checks] The HTTP 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 withMatcher(Matcher matcher)
[HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful response from a target.
With Network Load Balancers, you can't modify this setting.
matcher
- [HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful response from a
target.
With Network Load Balancers, you can't modify this setting.
public String toString()
toString
in class Object
Object.toString()
public ModifyTargetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.