Class ListHealthChecksResult

java.lang.Object
com.amazonaws.services.route53.model.ListHealthChecksResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListHealthChecksResult extends Object implements Serializable, Cloneable

A complex type that contains the response for the request.

See Also:
  • Constructor Details

    • ListHealthChecksResult

      public ListHealthChecksResult()
  • Method Details

    • getHealthChecks

      public List<HealthCheck> getHealthChecks()

      A complex type that contains information about the health checks associated with the current AWS account.

      Returns:
      A complex type that contains information about the health checks associated with the current AWS account.
    • setHealthChecks

      public void setHealthChecks(Collection<HealthCheck> healthChecks)

      A complex type that contains information about the health checks associated with the current AWS account.

      Parameters:
      healthChecks - A complex type that contains information about the health checks associated with the current AWS account.
    • withHealthChecks

      public ListHealthChecksResult withHealthChecks(HealthCheck... healthChecks)

      A complex type that contains information about the health checks associated with the current AWS account.

      NOTE: This method appends the values to the existing list (if any). Use setHealthChecks(java.util.Collection) or withHealthChecks(java.util.Collection) if you want to override the existing values.

      Parameters:
      healthChecks - A complex type that contains information about the health checks associated with the current AWS account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withHealthChecks

      public ListHealthChecksResult withHealthChecks(Collection<HealthCheck> healthChecks)

      A complex type that contains information about the health checks associated with the current AWS account.

      Parameters:
      healthChecks - A complex type that contains information about the health checks associated with the current AWS account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 ListHealthChecksResult 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.
    • setIsTruncated

      public void setIsTruncated(Boolean isTruncated)

      A flag indicating whether there are more health checks to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

      Valid Values: true | false

      Parameters:
      isTruncated - A flag indicating whether there are more health checks to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

      Valid Values: true | false

    • getIsTruncated

      public Boolean getIsTruncated()

      A flag indicating whether there are more health checks to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

      Valid Values: true | false

      Returns:
      A flag indicating whether there are more health checks to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

      Valid Values: true | false

    • withIsTruncated

      public ListHealthChecksResult withIsTruncated(Boolean isTruncated)

      A flag indicating whether there are more health checks to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

      Valid Values: true | false

      Parameters:
      isTruncated - A flag indicating whether there are more health checks to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

      Valid Values: true | false

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isTruncated

      public Boolean isTruncated()

      A flag indicating whether there are more health checks to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

      Valid Values: true | false

      Returns:
      A flag indicating whether there are more health checks to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the Marker element.

      Valid Values: true | false

    • setNextMarker

      public void setNextMarker(String nextMarker)

      Indicates where to continue listing health checks. If ListHealthChecksResponse$IsTruncated is true, make another request to ListHealthChecks and include the value of the NextMarker element in the Marker element to get the next page of results.

      Parameters:
      nextMarker - Indicates where to continue listing health checks. If ListHealthChecksResponse$IsTruncated is true, make another request to ListHealthChecks and include the value of the NextMarker element in the Marker element to get the next page of results.
    • getNextMarker

      public String getNextMarker()

      Indicates where to continue listing health checks. If ListHealthChecksResponse$IsTruncated is true, make another request to ListHealthChecks and include the value of the NextMarker element in the Marker element to get the next page of results.

      Returns:
      Indicates where to continue listing health checks. If ListHealthChecksResponse$IsTruncated is true, make another request to ListHealthChecks and include the value of the NextMarker element in the Marker element to get the next page of results.
    • withNextMarker

      public ListHealthChecksResult withNextMarker(String nextMarker)

      Indicates where to continue listing health checks. If ListHealthChecksResponse$IsTruncated is true, make another request to ListHealthChecks and include the value of the NextMarker element in the Marker element to get the next page of results.

      Parameters:
      nextMarker - Indicates where to continue listing health checks. If ListHealthChecksResponse$IsTruncated is true, make another request to ListHealthChecks and include the value of the NextMarker element in the Marker element 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)

      The maximum number of health checks to be included in the response body. If the number of health checks associated with this AWS account exceeds MaxItems, the value of ListHealthChecksResponse$IsTruncated in the response is true. Call ListHealthChecks again and specify the value of ListHealthChecksResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.

      Parameters:
      maxItems - The maximum number of health checks to be included in the response body. If the number of health checks associated with this AWS account exceeds MaxItems, the value of ListHealthChecksResponse$IsTruncated in the response is true. Call ListHealthChecks again and specify the value of ListHealthChecksResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.
    • getMaxItems

      public String getMaxItems()

      The maximum number of health checks to be included in the response body. If the number of health checks associated with this AWS account exceeds MaxItems, the value of ListHealthChecksResponse$IsTruncated in the response is true. Call ListHealthChecks again and specify the value of ListHealthChecksResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.

      Returns:
      The maximum number of health checks to be included in the response body. If the number of health checks associated with this AWS account exceeds MaxItems, the value of ListHealthChecksResponse$IsTruncated in the response is true. Call ListHealthChecks again and specify the value of ListHealthChecksResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.
    • withMaxItems

      public ListHealthChecksResult withMaxItems(String maxItems)

      The maximum number of health checks to be included in the response body. If the number of health checks associated with this AWS account exceeds MaxItems, the value of ListHealthChecksResponse$IsTruncated in the response is true. Call ListHealthChecks again and specify the value of ListHealthChecksResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.

      Parameters:
      maxItems - The maximum number of health checks to be included in the response body. If the number of health checks associated with this AWS account exceeds MaxItems, the value of ListHealthChecksResponse$IsTruncated in the response is true. Call ListHealthChecks again and specify the value of ListHealthChecksResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListHealthChecksResult clone()
      Overrides:
      clone in class Object