Class HealthCheck

    • Constructor Detail

      • HealthCheck

        public HealthCheck()
    • Method Detail

      • setId

        public void setId​(String id)

        The ID of the specified health check.

        Parameters:
        id - The ID of the specified health check.
      • getId

        public String getId()

        The ID of the specified health check.

        Returns:
        The ID of the specified health check.
      • withId

        public HealthCheck withId​(String id)

        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

        public void setCallerReference​(String callerReference)

        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

        public String 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

        public HealthCheck withCallerReference​(String callerReference)

        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

        public void setHealthCheckConfig​(HealthCheckConfig healthCheckConfig)

        A complex type that contains the health check configuration.

        Parameters:
        healthCheckConfig - A complex type that contains the health check configuration.
      • getHealthCheckConfig

        public HealthCheckConfig getHealthCheckConfig()

        A complex type that contains the health check configuration.

        Returns:
        A complex type that contains the health check configuration.
      • withHealthCheckConfig

        public HealthCheck withHealthCheckConfig​(HealthCheckConfig healthCheckConfig)

        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

        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.

        Parameters:
        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.
      • getHealthCheckVersion

        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.

        Returns:
        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.
      • withHealthCheckVersion

        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.

        Parameters:
        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.
        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

        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.

        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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object