Interface GetDatabasesRequest.Builder

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

public static interface GetDatabasesRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<GetDatabasesRequest.Builder,GetDatabasesRequest>
  • Method Details

    • catalogId

      GetDatabasesRequest.Builder catalogId(String catalogId)

      The ID of the Data Catalog from which to retrieve Databases. If none is provided, the Amazon Web Services account ID is used by default.

      Parameters:
      catalogId - The ID of the Data Catalog from which to retrieve Databases. If none is provided, the Amazon Web Services account ID is used by default.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      GetDatabasesRequest.Builder nextToken(String nextToken)

      A continuation token, if this is a continuation call.

      Parameters:
      nextToken - A continuation token, if this is a continuation call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      GetDatabasesRequest.Builder maxResults(Integer maxResults)

      The maximum number of databases to return in one response.

      Parameters:
      maxResults - The maximum number of databases to return in one response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceShareType

      GetDatabasesRequest.Builder resourceShareType(String resourceShareType)

      Allows you to specify that you want to list the databases shared with your account. The allowable values are FEDERATED, FOREIGN or ALL.

      • If set to FEDERATED, will list the federated databases (referencing an external entity) shared with your account.

      • If set to FOREIGN, will list the databases shared with your account.

      • If set to ALL, will list the databases shared with your account, as well as the databases in yor local account.

      Parameters:
      resourceShareType - Allows you to specify that you want to list the databases shared with your account. The allowable values are FEDERATED, FOREIGN or ALL.

      • If set to FEDERATED, will list the federated databases (referencing an external entity) shared with your account.

      • If set to FOREIGN, will list the databases shared with your account.

      • If set to ALL, will list the databases shared with your account, as well as the databases in yor local account.

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

      GetDatabasesRequest.Builder resourceShareType(ResourceShareType resourceShareType)

      Allows you to specify that you want to list the databases shared with your account. The allowable values are FEDERATED, FOREIGN or ALL.

      • If set to FEDERATED, will list the federated databases (referencing an external entity) shared with your account.

      • If set to FOREIGN, will list the databases shared with your account.

      • If set to ALL, will list the databases shared with your account, as well as the databases in yor local account.

      Parameters:
      resourceShareType - Allows you to specify that you want to list the databases shared with your account. The allowable values are FEDERATED, FOREIGN or ALL.

      • If set to FEDERATED, will list the federated databases (referencing an external entity) shared with your account.

      • If set to FOREIGN, will list the databases shared with your account.

      • If set to ALL, will list the databases shared with your account, as well as the databases in yor local account.

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

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