Class ListHealthChecksRequest

  • All Implemented Interfaces:
    ReadLimitInfo, Serializable, Cloneable

    public class ListHealthChecksRequest
    extends AmazonWebServiceRequest
    implements Serializable, Cloneable

    To retrieve a list of your health checks, send a GET request to the /Route 53 API version/healthcheck resource. The response to this request includes a HealthChecks element with zero or more HealthCheck child elements. By default, the list of health checks is displayed on a single page. You can control the length of the page that is displayed by using the MaxItems parameter. You can use the Marker parameter to control the health check that the list begins with.

    Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100.
    See Also:
    Serialized Form
    • Constructor Detail

      • ListHealthChecksRequest

        public ListHealthChecksRequest()
    • Method Detail

      • setMarker

        public void setMarker​(String marker)

        If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.

        Parameters:
        marker - If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.
      • getMarker

        public String getMarker()

        If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.

        Returns:
        If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.
      • withMarker

        public ListHealthChecksRequest withMarker​(String marker)

        If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.

        Parameters:
        marker - If the request returned more than one page of results, submit another request and specify the value of NextMarker from the last response in the marker parameter to get the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMaxItems

        public void setMaxItems​(String maxItems)

        Specify the maximum number of health checks to return per page of results.

        Parameters:
        maxItems - Specify the maximum number of health checks to return per page of results.
      • getMaxItems

        public String getMaxItems()

        Specify the maximum number of health checks to return per page of results.

        Returns:
        Specify the maximum number of health checks to return per page of results.
      • withMaxItems

        public ListHealthChecksRequest withMaxItems​(String maxItems)

        Specify the maximum number of health checks to return per page of results.

        Parameters:
        maxItems - Specify the maximum number of health checks to return per page of results.
        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