Interface ListDatabasesRequest.Builder
- All Superinterfaces:
AthenaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ListDatabasesRequest.Builder,,ListDatabasesRequest> SdkBuilder<ListDatabasesRequest.Builder,,ListDatabasesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListDatabasesRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributesToGet(Collection<DatabaseAttributes> attributesToGet) Specifies the database properties returned by theListDatabasescall.attributesToGet(DatabaseAttributes... attributesToGet) Specifies the database properties returned by theListDatabasescall.attributesToGetWithStrings(String... attributesToGet) Specifies the database properties returned by theListDatabasescall.attributesToGetWithStrings(Collection<String> attributesToGet) Specifies the database properties returned by theListDatabasescall.catalogName(String catalogName) The name of the data catalog that contains the databases to return.maxResults(Integer maxResults) Specifies the maximum number of results to return.A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the workgroup for which the metadata is being fetched.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
NextTokenfrom 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 theNextTokenfrom the response object of the previous page call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
Specifies the database properties returned by the
ListDatabasescall. The only valid value isNAME, 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 theListDatabasescall. The only valid value isNAME, 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
Specifies the database properties returned by the
ListDatabasescall. The only valid value isNAME, 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 theListDatabasescall. The only valid value isNAME, 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
Specifies the database properties returned by the
ListDatabasescall. The only valid value isNAME, 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 theListDatabasescall. The only valid value isNAME, 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
Specifies the database properties returned by the
ListDatabasescall. The only valid value isNAME, 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 theListDatabasescall. The only valid value isNAME, 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListDatabasesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-