Class HealthCheck
- java.lang.Object
-
- software.amazon.awssdk.services.route53.model.HealthCheck
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HealthCheck.Builder,HealthCheck>
@Generated("software.amazon.awssdk:codegen") public final class HealthCheck extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HealthCheck.Builder,HealthCheck>
A complex type that contains information about one health check that is associated with the current Amazon Web Services account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHealthCheck.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HealthCheck.Builderbuilder()StringcallerReference()A unique string that you specified when you created the health check.CloudWatchAlarmConfigurationcloudWatchAlarmConfiguration()A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()HealthCheckConfighealthCheckConfig()A complex type that contains detailed information about one health check.LonghealthCheckVersion()The version of the health check.Stringid()The identifier that Amazon Route 53 assigned to the health check when you created it.LinkedServicelinkedService()If the health check was created by another service, the service that created the health check.List<SdkField<?>>sdkFields()static Class<? extends HealthCheck.Builder>serializableBuilderClass()HealthCheck.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The identifier that Amazon Route 53 assigned 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.
- Returns:
- The identifier that Amazon Route 53 assigned 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.
-
callerReference
public final String callerReference()
A unique string that you specified when you created the health check.
- Returns:
- A unique string that you specified when you created the health check.
-
linkedService
public final LinkedService linkedService()
If the health check was created by another service, the service that created the health check. When a health check is created by another service, you can't edit or delete it using Amazon Route 53.
- Returns:
- If the health check was created by another service, the service that created the health check. When a health check is created by another service, you can't edit or delete it using Amazon Route 53.
-
healthCheckConfig
public final HealthCheckConfig healthCheckConfig()
A complex type that contains detailed information about one health check.
- Returns:
- A complex type that contains detailed information about one health check.
-
healthCheckVersion
public final Long healthCheckVersion()
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.
-
cloudWatchAlarmConfiguration
public final CloudWatchAlarmConfiguration cloudWatchAlarmConfiguration()
A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.
- Returns:
- A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.
-
toBuilder
public HealthCheck.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HealthCheck.Builder,HealthCheck>
-
builder
public static HealthCheck.Builder builder()
-
serializableBuilderClass
public static Class<? extends HealthCheck.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-