@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCoverageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCoverageResult() |
Modifier and Type | Method and Description |
---|---|
ListCoverageResult |
clone() |
boolean |
equals(Object obj) |
List<CoveredResource> |
getCoveredResources()
An object that contains details on the covered resources in your environment.
|
String |
getNextToken()
A token to use for paginating results that are returned in the response.
|
int |
hashCode() |
void |
setCoveredResources(Collection<CoveredResource> coveredResources)
An object that contains details on the covered resources in your environment.
|
void |
setNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
String |
toString()
Returns a string representation of this object.
|
ListCoverageResult |
withCoveredResources(Collection<CoveredResource> coveredResources)
An object that contains details on the covered resources in your environment.
|
ListCoverageResult |
withCoveredResources(CoveredResource... coveredResources)
An object that contains details on the covered resources in your environment.
|
ListCoverageResult |
withNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CoveredResource> getCoveredResources()
An object that contains details on the covered resources in your environment.
public void setCoveredResources(Collection<CoveredResource> coveredResources)
An object that contains details on the covered resources in your environment.
coveredResources
- An object that contains details on the covered resources in your environment.public ListCoverageResult withCoveredResources(CoveredResource... coveredResources)
An object that contains details on the covered resources in your environment.
NOTE: This method appends the values to the existing list (if any). Use
setCoveredResources(java.util.Collection)
or withCoveredResources(java.util.Collection)
if you
want to override the existing values.
coveredResources
- An object that contains details on the covered resources in your environment.public ListCoverageResult withCoveredResources(Collection<CoveredResource> coveredResources)
An object that contains details on the covered resources in your environment.
coveredResources
- An object that contains details on the covered resources in your environment.public void setNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
nextToken
- A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. For subsequent calls, use the NextToken
value
returned from the previous request to continue listing results after the first page.public String getNextToken()
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
NextToken
value returned from the previous request to continue listing results after the first page.public ListCoverageResult withNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
nextToken
- A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. For subsequent calls, use the NextToken
value
returned from the previous request to continue listing results after the first page.public String toString()
toString
in class Object
Object.toString()
public ListCoverageResult clone()