Interface DescribeTrustsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeTrustsRequest.Builder,
,DescribeTrustsRequest> DirectoryRequest.Builder
,SdkBuilder<DescribeTrustsRequest.Builder,
,DescribeTrustsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeTrustsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryId
(String directoryId) The Directory ID of the Amazon Web Services directory that is a part of the requested trust relationship.The maximum number of objects to return.The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A list of identifiers of the trust relationships for which to obtain the information.trustIds
(Collection<String> trustIds) A list of identifiers of the trust relationships for which to obtain the information.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
directoryId
The Directory ID of the Amazon Web Services directory that is a part of the requested trust relationship.
- Parameters:
directoryId
- The Directory ID of the Amazon Web Services 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.
-
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.- 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.
-
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.- 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.
-
nextToken
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.
-
limit
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.
-
overrideConfiguration
DescribeTrustsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeTrustsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-