Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.route53.model
Class ListHealthChecksRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.route53.model.ListHealthChecksRequest
All Implemented Interfaces:
java.io.Serializable

public class ListHealthChecksRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the ListHealthChecks operation.

To retrieve a list of your health checks, send a GET request to the 2012-12-12/healthcheck resource. The response to this request includes a HealthChecks element with zero, one, or multiple 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.

NOTE: 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:
AmazonRoute53.listHealthChecks(ListHealthChecksRequest), Serialized Form

Constructor Summary
ListHealthChecksRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.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.
 java.lang.String getMaxItems()
          Specify the maximum number of health checks to return per page of results.
 int hashCode()
           
 void setMarker(java.lang.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.
 void setMaxItems(java.lang.String maxItems)
          Specify the maximum number of health checks to return per page of results.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListHealthChecksRequest withMarker(java.lang.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.
 ListHealthChecksRequest withMaxItems(java.lang.String maxItems)
          Specify the maximum number of health checks to return per page of results.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListHealthChecksRequest

public ListHealthChecksRequest()
Method Detail

getMarker

public java.lang.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.

Constraints:
Length: 0 - 64

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.

setMarker

public void setMarker(java.lang.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.

Constraints:
Length: 0 - 64

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.

withMarker

public ListHealthChecksRequest withMarker(java.lang.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.

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

Constraints:
Length: 0 - 64

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:
A reference to this updated object so that method calls can be chained together.

getMaxItems

public java.lang.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.

setMaxItems

public void setMaxItems(java.lang.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.

withMaxItems

public ListHealthChecksRequest withMaxItems(java.lang.String maxItems)
Specify the maximum number of health checks to return per page of results.

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

Parameters:
maxItems - Specify the maximum number of health checks to return per page of results.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.