Class HealthCheck
- All Implemented Interfaces:
Serializable,Cloneable
A complex type that contains identifying information about the health check.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA unique string that identifies the request to create the health check.For CLOUDWATCH_METRIC health checks, a complex type that contains information about the CloudWatch alarm that you're associating with the health check.A complex type that contains the health check configuration.The version of the health check.getId()The ID of the specified health check.inthashCode()voidsetCallerReference(String callerReference) A unique string that identifies the request to create the health check.voidsetCloudWatchAlarmConfiguration(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.voidsetHealthCheckConfig(HealthCheckConfig healthCheckConfig) A complex type that contains the health check configuration.voidsetHealthCheckVersion(Long healthCheckVersion) The version of the health check.voidThe ID of the specified health check.toString()Returns a string representation of this object; useful for testing and debugging.withCallerReference(String callerReference) A unique string that identifies the request to create the health check.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.withHealthCheckConfig(HealthCheckConfig healthCheckConfig) A complex type that contains the health check configuration.withHealthCheckVersion(Long healthCheckVersion) The version of the health check.The ID of the specified health check.
-
Constructor Details
-
HealthCheck
public HealthCheck()
-
-
Method Details
-
setId
The ID of the specified health check.
- Parameters:
id- The ID of the specified health check.
-
getId
The ID of the specified health check.
- Returns:
- The ID of the specified health check.
-
withId
The ID of the specified health check.
- Parameters:
id- The ID of the specified health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCallerReference
A unique string that identifies the request to create the health check.
- Parameters:
callerReference- A unique string that identifies the request to create the health check.
-
getCallerReference
A unique string that identifies the request to create the health check.
- Returns:
- A unique string that identifies the request to create the health check.
-
withCallerReference
A unique string that identifies the request to create the health check.
- Parameters:
callerReference- A unique string that identifies the request to create the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHealthCheckConfig
A complex type that contains the health check configuration.
- Parameters:
healthCheckConfig- A complex type that contains the health check configuration.
-
getHealthCheckConfig
A complex type that contains the health check configuration.
- Returns:
- A complex type that contains the health check configuration.
-
withHealthCheckConfig
A complex type that contains the health check configuration.
- Parameters:
healthCheckConfig- A complex type that contains the health check configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHealthCheckVersion
The version of the health check. You can optionally pass this value in a call to
UpdateHealthCheckto prevent overwriting another change to the health check.- Parameters:
healthCheckVersion- The version of the health check. You can optionally pass this value in a call toUpdateHealthCheckto prevent overwriting another change to the health check.
-
getHealthCheckVersion
The version of the health check. You can optionally pass this value in a call to
UpdateHealthCheckto prevent overwriting another change to the health check.- Returns:
- The version of the health check. You can optionally pass this
value in a call to
UpdateHealthCheckto prevent overwriting another change to the health check.
-
withHealthCheckVersion
The version of the health check. You can optionally pass this value in a call to
UpdateHealthCheckto prevent overwriting another change to the health check.- Parameters:
healthCheckVersion- The version of the health check. You can optionally pass this value in a call toUpdateHealthCheckto prevent overwriting another change to the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCloudWatchAlarmConfiguration
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.
- Parameters:
cloudWatchAlarmConfiguration- For CLOUDWATCH_METRIC health checks, a complex type that contains information about the CloudWatch alarm that you're associating with the health check.
-
getCloudWatchAlarmConfiguration
For CLOUDWATCH_METRIC health checks, a complex type that contains information about the CloudWatch alarm that you're associating with the health check.
- Returns:
- For CLOUDWATCH_METRIC health checks, a complex type that contains information about the CloudWatch alarm that you're associating with the health check.
-
withCloudWatchAlarmConfiguration
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.
- Parameters:
cloudWatchAlarmConfiguration- For CLOUDWATCH_METRIC health checks, a complex type that contains information about the CloudWatch alarm that you're associating with the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-