public class ConfigureHealthCheckRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private HealthCheck |
healthCheck
The configuration information for the new health check.
|
private java.lang.String |
loadBalancerName
The name of the load balancer.
|
NOOP
Constructor and Description |
---|
ConfigureHealthCheckRequest()
Default constructor for ConfigureHealthCheckRequest object.
|
ConfigureHealthCheckRequest(java.lang.String loadBalancerName,
HealthCheck healthCheck)
Constructs a new ConfigureHealthCheckRequest object.
|
Modifier and Type | Method and Description |
---|---|
ConfigureHealthCheckRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
HealthCheck |
getHealthCheck()
The configuration information for the new health check.
|
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
int |
hashCode() |
void |
setHealthCheck(HealthCheck healthCheck)
The configuration information for the new health check.
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfigureHealthCheckRequest |
withHealthCheck(HealthCheck healthCheck)
The configuration information for the new health check.
|
ConfigureHealthCheckRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String loadBalancerName
The name of the load balancer.
private HealthCheck healthCheck
The configuration information for the new health check.
public ConfigureHealthCheckRequest()
public ConfigureHealthCheckRequest(java.lang.String loadBalancerName, HealthCheck healthCheck)
loadBalancerName
- The name of the load balancer.healthCheck
- The configuration information for the new health check.public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public java.lang.String getLoadBalancerName()
The name of the load balancer.
public ConfigureHealthCheckRequest withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public void setHealthCheck(HealthCheck healthCheck)
The configuration information for the new health check.
healthCheck
- The configuration information for the new health check.public HealthCheck getHealthCheck()
The configuration information for the new health check.
public ConfigureHealthCheckRequest withHealthCheck(HealthCheck healthCheck)
The configuration information for the new health check.
healthCheck
- The configuration information for the new health check.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ConfigureHealthCheckRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()