Interface DescribeTrustsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeTrustsRequest.Builder,DescribeTrustsRequest>,DirectoryRequest.Builder,SdkBuilder<DescribeTrustsRequest.Builder,DescribeTrustsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeTrustsRequest
public static interface DescribeTrustsRequest.Builder extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<DescribeTrustsRequest.Builder,DescribeTrustsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeTrustsRequest.BuilderdirectoryId(String directoryId)The Directory ID of the Amazon Web Services directory that is a part of the requested trust relationship.DescribeTrustsRequest.Builderlimit(Integer limit)The maximum number of objects to return.DescribeTrustsRequest.BuildernextToken(String nextToken)The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts.DescribeTrustsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeTrustsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribeTrustsRequest.BuildertrustIds(String... trustIds)A list of identifiers of the trust relationships for which to obtain the information.DescribeTrustsRequest.BuildertrustIds(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 Detail
-
directoryId
DescribeTrustsRequest.Builder directoryId(String 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
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
InvalidParameterExceptionbeing 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
InvalidParameterExceptionbeing thrown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustIds
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
InvalidParameterExceptionbeing 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
InvalidParameterExceptionbeing thrown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeTrustsRequest.Builder nextToken(String 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
DescribeTrustsRequest.Builder limit(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeTrustsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-