Interface ListDatabasesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListDatabasesRequest.Builder,ListDatabasesRequest>,RedshiftDataRequest.Builder,SdkBuilder<ListDatabasesRequest.Builder,ListDatabasesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListDatabasesRequest
public static interface ListDatabasesRequest.Builder extends RedshiftDataRequest.Builder, SdkPojo, CopyableBuilder<ListDatabasesRequest.Builder,ListDatabasesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDatabasesRequest.BuilderclusterIdentifier(String clusterIdentifier)The cluster identifier.ListDatabasesRequest.Builderdatabase(String database)The name of the database.ListDatabasesRequest.BuilderdbUser(String dbUser)The database user name.ListDatabasesRequest.BuildermaxResults(Integer maxResults)The maximum number of databases to return in the response.ListDatabasesRequest.BuildernextToken(String nextToken)A value that indicates the starting point for the next set of response records in a subsequent request.ListDatabasesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListDatabasesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListDatabasesRequest.BuildersecretArn(String secretArn)The name or ARN of the secret that enables access to the database.ListDatabasesRequest.BuilderworkgroupName(String workgroupName)The serverless workgroup name or Amazon Resource Name (ARN).-
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.redshiftdata.model.RedshiftDataRequest.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
-
clusterIdentifier
ListDatabasesRequest.Builder clusterIdentifier(String clusterIdentifier)
The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
- Parameters:
clusterIdentifier- The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
ListDatabasesRequest.Builder database(String database)
The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials.
- Parameters:
database- The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbUser
ListDatabasesRequest.Builder dbUser(String dbUser)
The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials.
- Parameters:
dbUser- The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListDatabasesRequest.Builder maxResults(Integer maxResults)
The maximum number of databases to return in the response. If more databases exist than fit in one response, then
NextTokenis returned to page through the results.- Parameters:
maxResults- The maximum number of databases to return in the response. If more databases exist than fit in one response, thenNextTokenis returned to page through the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListDatabasesRequest.Builder nextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
- Parameters:
nextToken- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretArn
ListDatabasesRequest.Builder secretArn(String secretArn)
The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.
- Parameters:
secretArn- The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workgroupName
ListDatabasesRequest.Builder workgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
- Parameters:
workgroupName- The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListDatabasesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListDatabasesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-