public class ModifyTargetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for ModifyTargetGroup.
NOOP
Constructor and Description |
---|
ModifyTargetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyTargetGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Integer |
getHealthCheckIntervalSeconds()
The approximate amount of time, in seconds, between health checks of an individual target.
|
String |
getHealthCheckPath()
The ping path that is the destination for the health check request.
|
String |
getHealthCheckPort()
The port to use to connect with the target.
|
String |
getHealthCheckProtocol()
The protocol to use to connect with the target.
|
Integer |
getHealthCheckTimeoutSeconds()
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()
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() |
void |
setHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The approximate amount of time, in seconds, between health checks of an individual target.
|
void |
setHealthCheckPath(String healthCheckPath)
The ping path that is the destination for the health check request.
|
void |
setHealthCheckPort(String healthCheckPort)
The port to use to connect with the target.
|
void |
setHealthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol to use to connect with the target.
|
void |
setHealthCheckProtocol(String healthCheckProtocol)
The protocol to use to connect with the target.
|
void |
setHealthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)
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)
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; useful for testing and debugging.
|
ModifyTargetGroupRequest |
withHealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The approximate amount of time, in seconds, between health checks of an individual target.
|
ModifyTargetGroupRequest |
withHealthCheckPath(String healthCheckPath)
The ping path that is the destination for the health check request.
|
ModifyTargetGroupRequest |
withHealthCheckPort(String healthCheckPort)
The port to use to connect with the target.
|
ModifyTargetGroupRequest |
withHealthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol to use to connect with the target.
|
ModifyTargetGroupRequest |
withHealthCheckProtocol(String healthCheckProtocol)
The protocol to use to connect with the target.
|
ModifyTargetGroupRequest |
withHealthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)
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)
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, 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 to use to connect with the target.
healthCheckProtocol
- The protocol to use to connect with the target.ProtocolEnum
public String getHealthCheckProtocol()
The protocol to use to connect with the target.
ProtocolEnum
public ModifyTargetGroupRequest withHealthCheckProtocol(String healthCheckProtocol)
The protocol to use to connect with the target.
healthCheckProtocol
- The protocol to use to connect with the target.ProtocolEnum
public void setHealthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol to use to connect with the target.
healthCheckProtocol
- The protocol to use to connect with the target.ProtocolEnum
public ModifyTargetGroupRequest withHealthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol to use to connect with the target.
healthCheckProtocol
- The protocol to use to connect with the target.ProtocolEnum
public void setHealthCheckPort(String healthCheckPort)
The port to use to connect with the target.
healthCheckPort
- The port to use to connect with the target.public String getHealthCheckPort()
The port to use to connect with the target.
public ModifyTargetGroupRequest withHealthCheckPort(String healthCheckPort)
The port to use to connect with the target.
healthCheckPort
- The port to use to connect with the target.public void setHealthCheckPath(String healthCheckPath)
The ping path that is the destination for the health check request.
healthCheckPath
- The ping path that is the destination for the health check request.public String getHealthCheckPath()
The ping path that is the destination for the health check request.
public ModifyTargetGroupRequest withHealthCheckPath(String healthCheckPath)
The ping path that is the destination for the health check request.
healthCheckPath
- The ping path that is the destination for the health check request.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)
The amount of time, in seconds, during which no response means a failed health check.
healthCheckTimeoutSeconds
- The amount of time, in seconds, during which no response means a failed health check.public Integer getHealthCheckTimeoutSeconds()
The amount of time, in seconds, during which no response means a failed health check.
public ModifyTargetGroupRequest withHealthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)
The amount of time, in seconds, during which no response means a failed health check.
healthCheckTimeoutSeconds
- 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)
The HTTP codes to use when checking for a successful response from a target.
matcher
- The HTTP codes to use when checking for a successful response from a target.public Matcher getMatcher()
The HTTP codes to use when checking for a successful response from a target.
public ModifyTargetGroupRequest withMatcher(Matcher matcher)
The HTTP codes to use when checking for a successful response from a target.
matcher
- The HTTP codes to use when checking for a successful response from a target.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.