public class DescribeTrustsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeTrustsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTrustsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDirectoryId()
The Directory ID of the AWS directory that is a part of the requested
trust relationship.
|
Integer |
getLimit()
The maximum number of objects to return.
|
String |
getNextToken()
The DescribeTrustsResult.NextToken value from a previous call to
DescribeTrusts.
|
List<String> |
getTrustIds()
A list of identifiers of the trust relationships for which to obtain the
information.
|
int |
hashCode() |
void |
setDirectoryId(String directoryId)
The Directory ID of the AWS directory that is a part of the requested
trust relationship.
|
void |
setLimit(Integer limit)
The maximum number of objects to return.
|
void |
setNextToken(String nextToken)
The DescribeTrustsResult.NextToken value from a previous call to
DescribeTrusts.
|
void |
setTrustIds(Collection<String> trustIds)
A list of identifiers of the trust relationships for which to obtain the
information.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTrustsRequest |
withDirectoryId(String directoryId)
The Directory ID of the AWS directory that is a part of the requested
trust relationship.
|
DescribeTrustsRequest |
withLimit(Integer limit)
The maximum number of objects to return.
|
DescribeTrustsRequest |
withNextToken(String nextToken)
The DescribeTrustsResult.NextToken value from a previous call to
DescribeTrusts.
|
DescribeTrustsRequest |
withTrustIds(Collection<String> trustIds)
A list of identifiers of the trust relationships for which to obtain the
information.
|
DescribeTrustsRequest |
withTrustIds(String... trustIds)
A list of identifiers of the trust relationships for which to obtain the
information.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDirectoryId(String directoryId)
directoryId
- The Directory ID of the AWS directory that is a part of the
requested trust relationship.public String getDirectoryId()
public DescribeTrustsRequest withDirectoryId(String directoryId)
directoryId
- The Directory ID of the AWS directory that is a part of the
requested trust relationship.public List<String> getTrustIds()
A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.
An empty list results in an InvalidParameterException
being
thrown.
An empty list results in an
InvalidParameterException
being thrown.
public void setTrustIds(Collection<String> trustIds)
A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.
An empty list results in an InvalidParameterException
being
thrown.
trustIds
- A list of identifiers of the trust relationships for which to
obtain the information. If this member is null, all trust
relationships that belong to the current account are returned.
An empty list results in an InvalidParameterException
being thrown.
public DescribeTrustsRequest withTrustIds(String... trustIds)
A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.
An empty list results in an InvalidParameterException
being
thrown.
NOTE: This method appends the values to the existing list (if
any). Use setTrustIds(java.util.Collection)
or
withTrustIds(java.util.Collection)
if you want to override the
existing values.
trustIds
- A list of identifiers of the trust relationships for which to
obtain the information. If this member is null, all trust
relationships that belong to the current account are returned.
An empty list results in an InvalidParameterException
being thrown.
public DescribeTrustsRequest withTrustIds(Collection<String> trustIds)
A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.
An empty list results in an InvalidParameterException
being
thrown.
trustIds
- A list of identifiers of the trust relationships for which to
obtain the information. If this member is null, all trust
relationships that belong to the current account are returned.
An empty list results in an InvalidParameterException
being thrown.
public void setNextToken(String nextToken)
The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
nextToken
- The DescribeTrustsResult.NextToken value from a previous
call to DescribeTrusts. Pass null if this is the first
call.public String getNextToken()
The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
public DescribeTrustsRequest withNextToken(String nextToken)
The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
nextToken
- The DescribeTrustsResult.NextToken value from a previous
call to DescribeTrusts. Pass null if this is the first
call.public void setLimit(Integer limit)
limit
- The maximum number of objects to return.public Integer getLimit()
public DescribeTrustsRequest withLimit(Integer limit)
limit
- The maximum number of objects to return.public String toString()
toString
in class Object
Object.toString()
public DescribeTrustsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.