public class DescribeTrustsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
If not null, more results are available.
|
private SdkInternalList<Trust> |
trusts
The list of Trust objects that were retrieved.
|
Constructor and Description |
---|
DescribeTrustsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTrustsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
If not null, more results are available.
|
java.util.List<Trust> |
getTrusts()
The list of Trust objects that were retrieved.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
If not null, more results are available.
|
void |
setTrusts(java.util.Collection<Trust> trusts)
The list of Trust objects that were retrieved.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTrustsResult |
withNextToken(java.lang.String nextToken)
If not null, more results are available.
|
DescribeTrustsResult |
withTrusts(java.util.Collection<Trust> trusts)
The list of Trust objects that were retrieved.
|
DescribeTrustsResult |
withTrusts(Trust... trusts)
The list of Trust objects that were retrieved.
|
private SdkInternalList<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.
private java.lang.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.
public java.util.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(java.util.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(java.util.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeTrustsResult clone()
clone
in class java.lang.Object