@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTrustsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result of a DescribeTrust request.
Constructor and Description |
---|
DescribeTrustsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTrustsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If not null, more results are available.
|
List<Trust> |
getTrusts()
The list of Trust objects that were retrieved.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If not null, more results are available.
|
void |
setTrusts(Collection<Trust> trusts)
The list of Trust objects that were retrieved.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeTrustsResult |
withNextToken(String nextToken)
If not null, more results are available.
|
DescribeTrustsResult |
withTrusts(Collection<Trust> trusts)
The list of Trust objects that were retrieved.
|
DescribeTrustsResult |
withTrusts(Trust... trusts)
The list of Trust objects that were retrieved.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Trust> getTrusts()
The list of Trust objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
public void setTrusts(Collection<Trust> trusts)
The list of Trust objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
trusts
- The list of Trust objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
public DescribeTrustsResult withTrusts(Trust... trusts)
The list of Trust objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
NOTE: This method appends the values to the existing list (if any). Use
setTrusts(java.util.Collection)
or withTrusts(java.util.Collection)
if you want to override the
existing values.
trusts
- The list of Trust objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
public DescribeTrustsResult withTrusts(Collection<Trust> trusts)
The list of Trust objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
trusts
- The list of Trust objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
public void setNextToken(String nextToken)
If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeTrusts to retrieve the next set of items.
nextToken
- If not null, more results are available. Pass this value for the NextToken parameter in a
subsequent call to DescribeTrusts to retrieve the next set of items.public String getNextToken()
If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeTrusts to retrieve the next set of items.
public DescribeTrustsResult withNextToken(String nextToken)
If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeTrusts to retrieve the next set of items.
nextToken
- If not null, more results are available. Pass this value for the NextToken parameter in a
subsequent call to DescribeTrusts to retrieve the next set of items.public String toString()
toString
in class Object
Object.toString()
public DescribeTrustsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.