public class HealthCheck extends Object implements Serializable, Cloneable
A complex type that contains identifying information about the health check.
Constructor and Description |
---|
HealthCheck() |
Modifier and Type | Method and Description |
---|---|
HealthCheck |
clone() |
boolean |
equals(Object obj) |
String |
getCallerReference()
A unique string that identifies the request to create the health check.
|
CloudWatchAlarmConfiguration |
getCloudWatchAlarmConfiguration()
For CLOUDWATCH_METRIC health checks, a complex type that contains
information about the CloudWatch alarm that you're associating with the
health check.
|
HealthCheckConfig |
getHealthCheckConfig()
A complex type that contains the health check configuration.
|
Long |
getHealthCheckVersion()
The version of the health check.
|
String |
getId()
The ID of the specified health check.
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
A unique string that identifies the request to create the health check.
|
void |
setCloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration cloudWatchAlarmConfiguration)
For CLOUDWATCH_METRIC health checks, a complex type that contains
information about the CloudWatch alarm that you're associating with the
health check.
|
void |
setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains the health check configuration.
|
void |
setHealthCheckVersion(Long healthCheckVersion)
The version of the health check.
|
void |
setId(String id)
The ID of the specified health check.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HealthCheck |
withCallerReference(String callerReference)
A unique string that identifies the request to create the health check.
|
HealthCheck |
withCloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration cloudWatchAlarmConfiguration)
For CLOUDWATCH_METRIC health checks, a complex type that contains
information about the CloudWatch alarm that you're associating with the
health check.
|
HealthCheck |
withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains the health check configuration.
|
HealthCheck |
withHealthCheckVersion(Long healthCheckVersion)
The version of the health check.
|
HealthCheck |
withId(String id)
The ID of the specified health check.
|
public void setId(String id)
The ID of the specified health check.
id
- The ID of the specified health check.public String getId()
The ID of the specified health check.
public HealthCheck withId(String id)
The ID of the specified health check.
id
- The ID of the specified health check.public void setCallerReference(String callerReference)
A unique string that identifies the request to create the health check.
callerReference
- A unique string that identifies the request to create the health
check.public String getCallerReference()
A unique string that identifies the request to create the health check.
public HealthCheck withCallerReference(String callerReference)
A unique string that identifies the request to create the health check.
callerReference
- A unique string that identifies the request to create the health
check.public void setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains the health check configuration.
healthCheckConfig
- A complex type that contains the health check configuration.public HealthCheckConfig getHealthCheckConfig()
A complex type that contains the health check configuration.
public HealthCheck withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains the health check configuration.
healthCheckConfig
- A complex type that contains the health check configuration.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)
For CLOUDWATCH_METRIC health checks, a complex type that contains information about the CloudWatch alarm that you're associating with the health check.
cloudWatchAlarmConfiguration
- For CLOUDWATCH_METRIC health checks, a complex type that contains
information about the CloudWatch alarm that you're associating
with the health check.public CloudWatchAlarmConfiguration getCloudWatchAlarmConfiguration()
For CLOUDWATCH_METRIC health checks, a complex type that contains information about the CloudWatch alarm that you're associating with the health check.
public HealthCheck withCloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration cloudWatchAlarmConfiguration)
For CLOUDWATCH_METRIC health checks, a complex type that contains information about the CloudWatch alarm that you're associating with the health check.
cloudWatchAlarmConfiguration
- For CLOUDWATCH_METRIC health checks, a complex type that contains
information about the CloudWatch alarm that you're associating
with the health check.public String toString()
toString
in class Object
Object.toString()
public HealthCheck clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.