Class DescribeTrustsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The Directory ID of the AWS directory that is a part of the requested trust relationship.getLimit()
The maximum number of objects to return.The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts.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
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.toString()
Returns a string representation of this object; useful for testing and debugging.withDirectoryId
(String directoryId) The Directory ID of the AWS directory that is a part of the requested trust relationship.The maximum number of objects to return.withNextToken
(String nextToken) The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts.withTrustIds
(String... trustIds) A list of identifiers of the trust relationships for which to obtain the information.withTrustIds
(Collection<String> trustIds) A list of identifiers of the trust relationships for which to obtain the information.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
DescribeTrustsRequest
public DescribeTrustsRequest()
-
-
Method Details
-
setDirectoryId
The Directory ID of the AWS directory that is a part of the requested trust relationship.- Parameters:
directoryId
- The Directory ID of the AWS directory that is a part of the requested trust relationship.
-
getDirectoryId
The Directory ID of the AWS directory that is a part of the requested trust relationship.- Returns:
- The Directory ID of the AWS directory that is a part of the requested trust relationship.
-
withDirectoryId
The Directory ID of the AWS directory that is a part of the requested trust relationship.- Parameters:
directoryId
- The Directory ID of the AWS directory that is a part of the requested trust relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- 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.
-
setTrustIds
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.- Parameters:
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.
-
withTrustIds
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)
orwithTrustIds(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTrustIds
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
- Parameters:
nextToken
- The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
-
getNextToken
The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
- Returns:
- The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
-
withNextToken
The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
- Parameters:
nextToken
- The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
The maximum number of objects to return.- Parameters:
limit
- The maximum number of objects to return.
-
getLimit
The maximum number of objects to return.- Returns:
- The maximum number of objects to return.
-
withLimit
The maximum number of objects to return.- Parameters:
limit
- The maximum number of objects to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-