public class DescribeTrustsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
directoryId
The Directory ID of the AWS directory that is a part of the requested
trust relationship.
|
private java.lang.Integer |
limit
The maximum number of objects to return.
|
private java.lang.String |
nextToken
The DescribeTrustsResult.NextToken value from a previous call to
DescribeTrusts.
|
private SdkInternalList<java.lang.String> |
trustIds
A list of identifiers of the trust relationships for which to obtain the
information.
|
NOOP
Constructor and Description |
---|
DescribeTrustsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTrustsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDirectoryId()
The Directory ID of the AWS directory that is a part of the requested
trust relationship.
|
java.lang.Integer |
getLimit()
The maximum number of objects to return.
|
java.lang.String |
getNextToken()
The DescribeTrustsResult.NextToken value from a previous call to
DescribeTrusts.
|
java.util.List<java.lang.String> |
getTrustIds()
A list of identifiers of the trust relationships for which to obtain the
information.
|
int |
hashCode() |
void |
setDirectoryId(java.lang.String directoryId)
The Directory ID of the AWS directory that is a part of the requested
trust relationship.
|
void |
setLimit(java.lang.Integer limit)
The maximum number of objects to return.
|
void |
setNextToken(java.lang.String nextToken)
The DescribeTrustsResult.NextToken value from a previous call to
DescribeTrusts.
|
void |
setTrustIds(java.util.Collection<java.lang.String> trustIds)
A list of identifiers of the trust relationships for which to obtain the
information.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTrustsRequest |
withDirectoryId(java.lang.String directoryId)
The Directory ID of the AWS directory that is a part of the requested
trust relationship.
|
DescribeTrustsRequest |
withLimit(java.lang.Integer limit)
The maximum number of objects to return.
|
DescribeTrustsRequest |
withNextToken(java.lang.String nextToken)
The DescribeTrustsResult.NextToken value from a previous call to
DescribeTrusts.
|
DescribeTrustsRequest |
withTrustIds(java.util.Collection<java.lang.String> trustIds)
A list of identifiers of the trust relationships for which to obtain the
information.
|
DescribeTrustsRequest |
withTrustIds(java.lang.String... trustIds)
A list of identifiers of the trust relationships for which to obtain the
information.
|
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
private java.lang.String directoryId
private SdkInternalList<java.lang.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.
private java.lang.String nextToken
The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
private java.lang.Integer limit
public void setDirectoryId(java.lang.String directoryId)
directoryId
- The Directory ID of the AWS directory that is a part of the
requested trust relationship.public java.lang.String getDirectoryId()
public DescribeTrustsRequest withDirectoryId(java.lang.String directoryId)
directoryId
- The Directory ID of the AWS directory that is a part of the
requested trust relationship.public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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(java.lang.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 java.lang.String getNextToken()
The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
public DescribeTrustsRequest withNextToken(java.lang.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(java.lang.Integer limit)
limit
- The maximum number of objects to return.public java.lang.Integer getLimit()
public DescribeTrustsRequest withLimit(java.lang.Integer limit)
limit
- The maximum number of objects to return.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 DescribeTrustsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()