Interface ListOrganizationalUnitsRequest.Builder

  • Method Details

    • organizationalUnitIds

      ListOrganizationalUnitsRequest.Builder organizationalUnitIds(Collection<String> organizationalUnitIds)

      The organizational unit (OU) or organization root IDs to return. If you don't specify this parameter, the operation returns the organization root and every OU.

      Parameters:
      organizationalUnitIds - The organizational unit (OU) or organization root IDs to return. If you don't specify this parameter, the operation returns the organization root and every OU.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationalUnitIds

      ListOrganizationalUnitsRequest.Builder organizationalUnitIds(String... organizationalUnitIds)

      The organizational unit (OU) or organization root IDs to return. If you don't specify this parameter, the operation returns the organization root and every OU.

      Parameters:
      organizationalUnitIds - The organizational unit (OU) or organization root IDs to return. If you don't specify this parameter, the operation returns the organization root and every OU.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      The maximum number of organizational units to return in a single response. If you don't specify a value, the default is 1,000.

      Parameters:
      maxResults - The maximum number of organizational units to return in a single response. If you don't specify a value, the default is 1,000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token to use to retrieve the next page of results.

      Parameters:
      nextToken - The token to use to retrieve the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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