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 Details

    • 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

      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

      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.

      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

      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

      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.