@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HealthCheck extends Object implements Serializable, Cloneable
A complex type that contains information about one health check that is associated with the current AWS account.
Constructor and Description |
---|
HealthCheck() |
Modifier and Type | Method and Description |
---|---|
HealthCheck |
clone() |
boolean |
equals(Object obj) |
String |
getCallerReference()
A unique string that you specified when you created the health check.
|
CloudWatchAlarmConfiguration |
getCloudWatchAlarmConfiguration()
A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this
health check.
|
HealthCheckConfig |
getHealthCheckConfig()
A complex type that contains detailed information about one health check.
|
Long |
getHealthCheckVersion()
The version of the health check.
|
String |
getId()
The identifier that Amazon Route 53assigned to the health check when you created it.
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
A unique string that you specified when you created the health check.
|
void |
setCloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration cloudWatchAlarmConfiguration)
A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this
health check.
|
void |
setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains detailed information about one health check.
|
void |
setHealthCheckVersion(Long healthCheckVersion)
The version of the health check.
|
void |
setId(String id)
The identifier that Amazon Route 53assigned to the health check when you created it.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
HealthCheck |
withCallerReference(String callerReference)
A unique string that you specified when you created the health check.
|
HealthCheck |
withCloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration cloudWatchAlarmConfiguration)
A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this
health check.
|
HealthCheck |
withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains detailed information about one health check.
|
HealthCheck |
withHealthCheckVersion(Long healthCheckVersion)
The version of the health check.
|
HealthCheck |
withId(String id)
The identifier that Amazon Route 53assigned to the health check when you created it.
|
public void setId(String id)
The identifier that Amazon Route 53assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.
id
- The identifier that Amazon Route 53assigned to the health check when you created it. When you add or
update a resource record set, you use this value to specify which health check to use. The value can be up
to 64 characters long.public String getId()
The identifier that Amazon Route 53assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.
public HealthCheck withId(String id)
The identifier that Amazon Route 53assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.
id
- The identifier that Amazon Route 53assigned to the health check when you created it. When you add or
update a resource record set, you use this value to specify which health check to use. The value can be up
to 64 characters long.public void setCallerReference(String callerReference)
A unique string that you specified when you created the health check.
callerReference
- A unique string that you specified when you created the health check.public String getCallerReference()
A unique string that you specified when you created the health check.
public HealthCheck withCallerReference(String callerReference)
A unique string that you specified when you created the health check.
callerReference
- A unique string that you specified when you created the health check.public void setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains detailed information about one health check.
healthCheckConfig
- A complex type that contains detailed information about one health check.public HealthCheckConfig getHealthCheckConfig()
A complex type that contains detailed information about one health check.
public HealthCheck withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains detailed information about one health check.
healthCheckConfig
- A complex type that contains detailed information about one health check.public void setHealthCheckVersion(Long healthCheckVersion)
The version of the health check. You can optionally pass this value in a call to UpdateHealthCheck
to prevent overwriting another change to the health check.
healthCheckVersion
- The version of the health check. You can optionally pass this value in a call to
UpdateHealthCheck
to prevent overwriting another change to the health check.public Long getHealthCheckVersion()
The version of the health check. You can optionally pass this value in a call to UpdateHealthCheck
to prevent overwriting another change to the health check.
UpdateHealthCheck
to prevent overwriting another change to the health check.public HealthCheck withHealthCheckVersion(Long healthCheckVersion)
The version of the health check. You can optionally pass this value in a call to UpdateHealthCheck
to prevent overwriting another change to the health check.
healthCheckVersion
- The version of the health check. You can optionally pass this value in a call to
UpdateHealthCheck
to prevent overwriting another change to the health check.public void setCloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration cloudWatchAlarmConfiguration)
A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.
cloudWatchAlarmConfiguration
- A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for
this health check.public CloudWatchAlarmConfiguration getCloudWatchAlarmConfiguration()
A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.
public HealthCheck withCloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration cloudWatchAlarmConfiguration)
A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.
cloudWatchAlarmConfiguration
- A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for
this health check.public String toString()
toString
in class Object
Object.toString()
public HealthCheck clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.