Interface ListWorkgroupsRequest.Builder

  • Method Details

    • maxResults

      ListWorkgroupsRequest.Builder maxResults(Integer maxResults)

      An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

      Parameters:
      maxResults - An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListWorkgroupsRequest.Builder nextToken(String nextToken)

      If your initial ListWorkgroups operation returns a nextToken, you can include the returned nextToken in following ListNamespaces operations, which returns results in the next page.

      Parameters:
      nextToken - If your initial ListWorkgroups operation returns a nextToken, you can include the returned nextToken in following ListNamespaces operations, which returns results in the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownerAccount

      ListWorkgroupsRequest.Builder ownerAccount(String ownerAccount)

      The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.

      Parameters:
      ownerAccount - The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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