public class ListHealthChecksRequest extends AmazonWebServiceRequest implements Serializable
ListHealthChecks operation
.
To retrieve a list of your health checks, send a GET
request to the 2013-04-01/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.
NOOP
Constructor and Description |
---|
ListHealthChecksRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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. |
String |
getMaxItems()
Specify the maximum number of health checks to return per page of
results.
|
int |
hashCode() |
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. |
void |
setMaxItems(String maxItems)
Specify the maximum number of health checks to return per page of
results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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. |
ListHealthChecksRequest |
withMaxItems(String maxItems)
Specify the maximum number of health checks to return per page of
results.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getMarker()
NextMarker
from the last
response in the marker
parameter to get the next page of
results.
Constraints:
Length: 0 - 64
NextMarker
from the last
response in the marker
parameter to get the next page of
results.public void setMarker(String marker)
NextMarker
from the last
response in the marker
parameter to get the next page of
results.
Constraints:
Length: 0 - 64
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.public ListHealthChecksRequest withMarker(String marker)
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
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.public String getMaxItems()
public void setMaxItems(String maxItems)
maxItems
- Specify the maximum number of health checks to return per page of
results.public ListHealthChecksRequest withMaxItems(String maxItems)
Returns a reference to this object so that method calls can be chained together.
maxItems
- Specify the maximum number of health checks to return per page of
results.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.