Interface DescribeDirectoriesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DescribeDirectoriesRequest.Builder,DescribeDirectoriesRequest>, DirectoryRequest.Builder, SdkBuilder<DescribeDirectoriesRequest.Builder,DescribeDirectoriesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DescribeDirectoriesRequest

public static interface DescribeDirectoriesRequest.Builder extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<DescribeDirectoriesRequest.Builder,DescribeDirectoriesRequest>
  • Method Details

    • directoryIds

      A list of identifiers of the directories for which to obtain the information. If this member is null, all directories that belong to the current account are returned.

      An empty list results in an InvalidParameterException being thrown.

      Parameters:
      directoryIds - A list of identifiers of the directories for which to obtain the information. If this member is null, all directories 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.
    • directoryIds

      DescribeDirectoriesRequest.Builder directoryIds(String... directoryIds)

      A list of identifiers of the directories for which to obtain the information. If this member is null, all directories that belong to the current account are returned.

      An empty list results in an InvalidParameterException being thrown.

      Parameters:
      directoryIds - A list of identifiers of the directories for which to obtain the information. If this member is null, all directories 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 DescribeDirectoriesResult.NextToken value from a previous call to DescribeDirectories. Pass null if this is the first call.

      Parameters:
      nextToken - The DescribeDirectoriesResult.NextToken value from a previous call to DescribeDirectories. 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 items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation.

      Parameters:
      limit - The maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DescribeDirectoriesRequest.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.