CopyableBuilder<DescribeTrustsRequest.Builder,DescribeTrustsRequest>
, SdkBuilder<DescribeTrustsRequest.Builder,DescribeTrustsRequest>
public static interface DescribeTrustsRequest.Builder extends CopyableBuilder<DescribeTrustsRequest.Builder,DescribeTrustsRequest>
Modifier and Type | Method | Description |
---|---|---|
DescribeTrustsRequest.Builder |
directoryId(String directoryId) |
The Directory ID of the AWS directory that is a part of the requested trust relationship.
|
DescribeTrustsRequest.Builder |
limit(Integer limit) |
The maximum number of objects to return.
|
DescribeTrustsRequest.Builder |
nextToken(String nextToken) |
The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts.
|
DescribeTrustsRequest.Builder |
trustIds(String... trustIds) |
A list of identifiers of the trust relationships for which to obtain the information.
|
DescribeTrustsRequest.Builder |
trustIds(Collection<String> trustIds) |
A list of identifiers of the trust relationships for which to obtain the information.
|
copy
apply, build
DescribeTrustsRequest.Builder directoryId(String directoryId)
The Directory ID of the AWS directory that is a part of the requested trust relationship.
directoryId
- The Directory ID of the AWS directory that is a part of the requested trust relationship.DescribeTrustsRequest.Builder trustIds(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.
DescribeTrustsRequest.Builder trustIds(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.
DescribeTrustsRequest.Builder nextToken(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.DescribeTrustsRequest.Builder limit(Integer limit)
The maximum number of objects to return.
limit
- The maximum number of objects to return.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.