Interface GetDatabasesRequest.Builder

    • Method Detail

      • 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, ResourceShareType
      • 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:
        ResourceShareType, ResourceShareType
      • attributesToGetWithStrings

        GetDatabasesRequest.Builder attributesToGetWithStrings​(Collection<String> attributesToGet)

        Specifies the database fields returned by the GetDatabases call. This parameter doesn’t accept an empty list. The request must include the NAME.

        Parameters:
        attributesToGet - Specifies the database fields returned by the GetDatabases call. This parameter doesn’t accept an empty list. The request must include the NAME.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributesToGetWithStrings

        GetDatabasesRequest.Builder attributesToGetWithStrings​(String... attributesToGet)

        Specifies the database fields returned by the GetDatabases call. This parameter doesn’t accept an empty list. The request must include the NAME.

        Parameters:
        attributesToGet - Specifies the database fields returned by the GetDatabases call. This parameter doesn’t accept an empty list. The request must include the NAME.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributesToGet

        GetDatabasesRequest.Builder attributesToGet​(Collection<DatabaseAttributes> attributesToGet)

        Specifies the database fields returned by the GetDatabases call. This parameter doesn’t accept an empty list. The request must include the NAME.

        Parameters:
        attributesToGet - Specifies the database fields returned by the GetDatabases call. This parameter doesn’t accept an empty list. The request must include the NAME.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributesToGet

        GetDatabasesRequest.Builder attributesToGet​(DatabaseAttributes... attributesToGet)

        Specifies the database fields returned by the GetDatabases call. This parameter doesn’t accept an empty list. The request must include the NAME.

        Parameters:
        attributesToGet - Specifies the database fields returned by the GetDatabases call. This parameter doesn’t accept an empty list. The request must include the NAME.
        Returns:
        Returns a reference to this object so that method calls can be chained together.