Class ListHealthChecksRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53.model.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
GETrequest to the/Route 53 API version/healthcheckresource. The response to this request includes aHealthCheckselement with zero or moreHealthCheckchild 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 theMaxItemsparameter. You can use theMarkerparameter to control the health check that the list begins with.Amazon Route 53 returns a maximum of 100 items. If you set MaxItemsto a value greater than 100, Amazon Route 53 returns only the first 100.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListHealthChecksRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListHealthChecksRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetMarker()If the request returned more than one page of results, submit another request and specify the value ofNextMarkerfrom the last response in themarkerparameter to get the next page of results.StringgetMaxItems()Specify the maximum number of health checks to return per page of results.inthashCode()voidsetMarker(String marker)If the request returned more than one page of results, submit another request and specify the value ofNextMarkerfrom the last response in themarkerparameter to get the next page of results.voidsetMaxItems(String maxItems)Specify the maximum number of health checks to return per page of results.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListHealthChecksRequestwithMarker(String marker)If the request returned more than one page of results, submit another request and specify the value ofNextMarkerfrom the last response in themarkerparameter to get the next page of results.ListHealthChecksRequestwithMaxItems(String maxItems)Specify the maximum number of health checks to return per page of results.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
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
NextMarkerfrom the last response in themarkerparameter 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 ofNextMarkerfrom the last response in themarkerparameter 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
NextMarkerfrom the last response in themarkerparameter 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
NextMarkerfrom the last response in themarkerparameter 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
NextMarkerfrom the last response in themarkerparameter 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 ofNextMarkerfrom the last response in themarkerparameter 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListHealthChecksRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-