Interface ListSchemasRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListSchemasRequest.Builder,ListSchemasRequest>,RedshiftDataRequest.Builder,SdkBuilder<ListSchemasRequest.Builder,ListSchemasRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListSchemasRequest
public static interface ListSchemasRequest.Builder extends RedshiftDataRequest.Builder, SdkPojo, CopyableBuilder<ListSchemasRequest.Builder,ListSchemasRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSchemasRequest.BuilderclusterIdentifier(String clusterIdentifier)The cluster identifier.ListSchemasRequest.BuilderconnectedDatabase(String connectedDatabase)A database name.ListSchemasRequest.Builderdatabase(String database)The name of the database that contains the schemas to list.ListSchemasRequest.BuilderdbUser(String dbUser)The database user name.ListSchemasRequest.BuildermaxResults(Integer maxResults)The maximum number of schemas to return in the response.ListSchemasRequest.BuildernextToken(String nextToken)A value that indicates the starting point for the next set of response records in a subsequent request.ListSchemasRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListSchemasRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListSchemasRequest.BuilderschemaPattern(String schemaPattern)A pattern to filter results by schema name.ListSchemasRequest.BuildersecretArn(String secretArn)The name or ARN of the secret that enables access to the database.ListSchemasRequest.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clusterIdentifier
ListSchemasRequest.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.
-
connectedDatabase
ListSchemasRequest.Builder connectedDatabase(String connectedDatabase)
A database name. The connected database is specified when you connect with your authentication credentials.
- Parameters:
connectedDatabase- A database name. The connected database is specified when you connect with your authentication credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
ListSchemasRequest.Builder database(String database)
The name of the database that contains the schemas to list. If
ConnectedDatabaseis not specified, this is also the database to connect to with your authentication credentials.- Parameters:
database- The name of the database that contains the schemas to list. IfConnectedDatabaseis not specified, this is also the database to connect to with your authentication credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbUser
ListSchemasRequest.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
ListSchemasRequest.Builder maxResults(Integer maxResults)
The maximum number of schemas to return in the response. If more schemas exist than fit in one response, then
NextTokenis returned to page through the results.- Parameters:
maxResults- The maximum number of schemas to return in the response. If more schemas 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
ListSchemasRequest.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.
-
schemaPattern
ListSchemasRequest.Builder schemaPattern(String schemaPattern)
A pattern to filter results by schema name. Within a schema pattern, "%" means match any substring of 0 or more characters and "_" means match any one character. Only schema name entries matching the search pattern are returned.
- Parameters:
schemaPattern- A pattern to filter results by schema name. Within a schema pattern, "%" means match any substring of 0 or more characters and "_" means match any one character. Only schema name entries matching the search pattern are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretArn
ListSchemasRequest.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
ListSchemasRequest.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
ListSchemasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListSchemasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-