Interface ListDatabasesRequest.Builder

  • Method Details

    • catalogName

      ListDatabasesRequest.Builder catalogName(String catalogName)

      The name of the data catalog that contains the databases to return.

      Parameters:
      catalogName - The name of the data catalog that contains the databases to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListDatabasesRequest.Builder nextToken(String nextToken)

      A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

      Parameters:
      nextToken - A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListDatabasesRequest.Builder maxResults(Integer maxResults)

      Specifies the maximum number of results to return.

      Parameters:
      maxResults - Specifies the maximum number of results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workGroup

      ListDatabasesRequest.Builder workGroup(String workGroup)

      The name of the workgroup for which the metadata is being fetched. Required if requesting an IAM Identity Center enabled Glue Data Catalog.

      Parameters:
      workGroup - The name of the workgroup for which the metadata is being fetched. Required if requesting an IAM Identity Center enabled Glue Data Catalog.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributesToGetWithStrings

      ListDatabasesRequest.Builder attributesToGetWithStrings(Collection<String> attributesToGet)

      Specifies the database properties returned by the ListDatabases call. The only valid value is NAME, which returns only the name of each database and omits the remaining properties. If you omit this parameter or specify an empty list, all database properties are returned.

      Requesting only names can reduce response time for catalogs that contain many databases, especially resource links to databases shared from other accounts.

      This parameter applies only to the Glue Data Catalog. For other data catalog types, it is ignored.

      Parameters:
      attributesToGet - Specifies the database properties returned by the ListDatabases call. The only valid value is NAME, which returns only the name of each database and omits the remaining properties. If you omit this parameter or specify an empty list, all database properties are returned.

      Requesting only names can reduce response time for catalogs that contain many databases, especially resource links to databases shared from other accounts.

      This parameter applies only to the Glue Data Catalog. For other data catalog types, it is ignored.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributesToGetWithStrings

      ListDatabasesRequest.Builder attributesToGetWithStrings(String... attributesToGet)

      Specifies the database properties returned by the ListDatabases call. The only valid value is NAME, which returns only the name of each database and omits the remaining properties. If you omit this parameter or specify an empty list, all database properties are returned.

      Requesting only names can reduce response time for catalogs that contain many databases, especially resource links to databases shared from other accounts.

      This parameter applies only to the Glue Data Catalog. For other data catalog types, it is ignored.

      Parameters:
      attributesToGet - Specifies the database properties returned by the ListDatabases call. The only valid value is NAME, which returns only the name of each database and omits the remaining properties. If you omit this parameter or specify an empty list, all database properties are returned.

      Requesting only names can reduce response time for catalogs that contain many databases, especially resource links to databases shared from other accounts.

      This parameter applies only to the Glue Data Catalog. For other data catalog types, it is ignored.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributesToGet

      ListDatabasesRequest.Builder attributesToGet(Collection<DatabaseAttributes> attributesToGet)

      Specifies the database properties returned by the ListDatabases call. The only valid value is NAME, which returns only the name of each database and omits the remaining properties. If you omit this parameter or specify an empty list, all database properties are returned.

      Requesting only names can reduce response time for catalogs that contain many databases, especially resource links to databases shared from other accounts.

      This parameter applies only to the Glue Data Catalog. For other data catalog types, it is ignored.

      Parameters:
      attributesToGet - Specifies the database properties returned by the ListDatabases call. The only valid value is NAME, which returns only the name of each database and omits the remaining properties. If you omit this parameter or specify an empty list, all database properties are returned.

      Requesting only names can reduce response time for catalogs that contain many databases, especially resource links to databases shared from other accounts.

      This parameter applies only to the Glue Data Catalog. For other data catalog types, it is ignored.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributesToGet

      ListDatabasesRequest.Builder attributesToGet(DatabaseAttributes... attributesToGet)

      Specifies the database properties returned by the ListDatabases call. The only valid value is NAME, which returns only the name of each database and omits the remaining properties. If you omit this parameter or specify an empty list, all database properties are returned.

      Requesting only names can reduce response time for catalogs that contain many databases, especially resource links to databases shared from other accounts.

      This parameter applies only to the Glue Data Catalog. For other data catalog types, it is ignored.

      Parameters:
      attributesToGet - Specifies the database properties returned by the ListDatabases call. The only valid value is NAME, which returns only the name of each database and omits the remaining properties. If you omit this parameter or specify an empty list, all database properties are returned.

      Requesting only names can reduce response time for catalogs that contain many databases, especially resource links to databases shared from other accounts.

      This parameter applies only to the Glue Data Catalog. For other data catalog types, it is ignored.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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