Class DescribeTrustsResult
- java.lang.Object
-
- com.amazonaws.services.directory.model.DescribeTrustsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeTrustsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeTrustsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(Trust... trusts)
The list of Trust objects that were retrieved.DescribeTrustsResult
withTrusts(Collection<Trust> trusts)
The list of Trust objects that were retrieved.
-
-
-
Method Detail
-
getTrusts
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.
- Returns:
- 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.
-
setTrusts
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.
- Parameters:
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.
-
withTrusts
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)
orwithTrusts(java.util.Collection)
if you want to override the existing values.- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTrusts
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
getNextToken
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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.- 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 DescribeTrustsResult clone()
-
-