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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDatabasesRequest.BuilderattributesToGet(Collection<DatabaseAttributes> attributesToGet)Specifies the database fields returned by theGetDatabasescall.GetDatabasesRequest.BuilderattributesToGet(DatabaseAttributes... attributesToGet)Specifies the database fields returned by theGetDatabasescall.GetDatabasesRequest.BuilderattributesToGetWithStrings(String... attributesToGet)Specifies the database fields returned by theGetDatabasescall.GetDatabasesRequest.BuilderattributesToGetWithStrings(Collection<String> attributesToGet)Specifies the database fields returned by theGetDatabasescall.GetDatabasesRequest.BuildercatalogId(String catalogId)The ID of the Data Catalog from which to retrieveDatabases.GetDatabasesRequest.BuildermaxResults(Integer maxResults)The maximum number of databases to return in one response.GetDatabasesRequest.BuildernextToken(String nextToken)A continuation token, if this is a continuation call.GetDatabasesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetDatabasesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetDatabasesRequest.BuilderresourceShareType(String resourceShareType)Allows you to specify that you want to list the databases shared with your account.GetDatabasesRequest.BuilderresourceShareType(ResourceShareType resourceShareType)Allows you to specify that you want to list the databases shared with your account.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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 retrieveDatabases. 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,FOREIGNorALL.-
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 areFEDERATED,FOREIGNorALL.-
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,FOREIGNorALL.-
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 areFEDERATED,FOREIGNorALL.-
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
GetDatabasescall. This parameter doesn’t accept an empty list. The request must include theNAME.- Parameters:
attributesToGet- Specifies the database fields returned by theGetDatabasescall. This parameter doesn’t accept an empty list. The request must include theNAME.- 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
GetDatabasescall. This parameter doesn’t accept an empty list. The request must include theNAME.- Parameters:
attributesToGet- Specifies the database fields returned by theGetDatabasescall. This parameter doesn’t accept an empty list. The request must include theNAME.- 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
GetDatabasescall. This parameter doesn’t accept an empty list. The request must include theNAME.- Parameters:
attributesToGet- Specifies the database fields returned by theGetDatabasescall. This parameter doesn’t accept an empty list. The request must include theNAME.- 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
GetDatabasescall. This parameter doesn’t accept an empty list. The request must include theNAME.- Parameters:
attributesToGet- Specifies the database fields returned by theGetDatabasescall. This parameter doesn’t accept an empty list. The request must include theNAME.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetDatabasesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetDatabasesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-