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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListHealthChecksResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListHealthChecksResult
clone()
boolean
equals(Object obj)
List<HealthCheck>
getHealthChecks()
A complex type that contains information about the health checks associated with the current AWS account.Boolean
getIsTruncated()
A flag indicating whether there are more health checks to be listed.String
getMarker()
If the request returned more than one page of results, submit another request and specify the value ofNextMarker
from the last response in themarker
parameter to get the next page of results.String
getMaxItems()
The maximum number of health checks to be included in the response body.String
getNextMarker()
Indicates where to continue listing health checks.int
hashCode()
Boolean
isTruncated()
A flag indicating whether there are more health checks to be listed.void
setHealthChecks(Collection<HealthCheck> healthChecks)
A complex type that contains information about the health checks associated with the current AWS account.void
setIsTruncated(Boolean isTruncated)
A flag indicating whether there are more health checks to be listed.void
setMarker(String marker)
If the request returned more than one page of results, submit another request and specify the value ofNextMarker
from the last response in themarker
parameter to get the next page of results.void
setMaxItems(String maxItems)
The maximum number of health checks to be included in the response body.void
setNextMarker(String nextMarker)
Indicates where to continue listing health checks.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListHealthChecksResult
withHealthChecks(HealthCheck... healthChecks)
A complex type that contains information about the health checks associated with the current AWS account.ListHealthChecksResult
withHealthChecks(Collection<HealthCheck> healthChecks)
A complex type that contains information about the health checks associated with the current AWS account.ListHealthChecksResult
withIsTruncated(Boolean isTruncated)
A flag indicating whether there are more health checks to be listed.ListHealthChecksResult
withMarker(String marker)
If the request returned more than one page of results, submit another request and specify the value ofNextMarker
from the last response in themarker
parameter to get the next page of results.ListHealthChecksResult
withMaxItems(String maxItems)
The maximum number of health checks to be included in the response body.ListHealthChecksResult
withNextMarker(String nextMarker)
Indicates where to continue listing health checks.
-
-
-
Method Detail
-
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)
orwithHealthChecks(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 themarker
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 ofNextMarker
from the last response in themarker
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 themarker
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 themarker
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 themarker
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 ofNextMarker
from the last response in themarker
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 theMarker
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 theMarker
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 toListHealthChecks
and include the value of theNextMarker
element in theMarker
element to get the next page of results.- Parameters:
nextMarker
- Indicates where to continue listing health checks. If ListHealthChecksResponse$IsTruncated istrue
, make another request toListHealthChecks
and include the value of theNextMarker
element in theMarker
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 toListHealthChecks
and include the value of theNextMarker
element in theMarker
element to get the next page of results.- Returns:
- Indicates where to continue listing health checks. If
ListHealthChecksResponse$IsTruncated is
true
, make another request toListHealthChecks
and include the value of theNextMarker
element in theMarker
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 toListHealthChecks
and include the value of theNextMarker
element in theMarker
element to get the next page of results.- Parameters:
nextMarker
- Indicates where to continue listing health checks. If ListHealthChecksResponse$IsTruncated istrue
, make another request toListHealthChecks
and include the value of theNextMarker
element in theMarker
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 istrue
. CallListHealthChecks
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 exceedsMaxItems
, the value of ListHealthChecksResponse$IsTruncated in the response istrue
. CallListHealthChecks
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 istrue
. CallListHealthChecks
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 istrue
. CallListHealthChecks
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 istrue
. CallListHealthChecks
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 exceedsMaxItems
, the value of ListHealthChecksResponse$IsTruncated in the response istrue
. CallListHealthChecks
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListHealthChecksResult clone()
-
-