@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTablesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTablesRequest() |
Modifier and Type | Method and Description |
---|---|
ListTablesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClusterIdentifier()
The cluster identifier.
|
String |
getConnectedDatabase()
A database name.
|
String |
getDatabase()
The name of the database that contains the tables to list.
|
String |
getDbUser()
The database user name.
|
Integer |
getMaxResults()
The maximum number of tables to return in the response.
|
String |
getNextToken()
A value that indicates the starting point for the next set of response records in a subsequent request.
|
String |
getSchemaPattern()
A pattern to filter results by schema name.
|
String |
getSecretArn()
The name or ARN of the secret that enables access to the database.
|
String |
getTablePattern()
A pattern to filter results by table name.
|
String |
getWorkgroupName()
The serverless workgroup name or Amazon Resource Name (ARN).
|
int |
hashCode() |
void |
setClusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
void |
setConnectedDatabase(String connectedDatabase)
A database name.
|
void |
setDatabase(String database)
The name of the database that contains the tables to list.
|
void |
setDbUser(String dbUser)
The database user name.
|
void |
setMaxResults(Integer maxResults)
The maximum number of tables to return in the response.
|
void |
setNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
void |
setSchemaPattern(String schemaPattern)
A pattern to filter results by schema name.
|
void |
setSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
|
void |
setTablePattern(String tablePattern)
A pattern to filter results by table name.
|
void |
setWorkgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN).
|
String |
toString()
Returns a string representation of this object.
|
ListTablesRequest |
withClusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
ListTablesRequest |
withConnectedDatabase(String connectedDatabase)
A database name.
|
ListTablesRequest |
withDatabase(String database)
The name of the database that contains the tables to list.
|
ListTablesRequest |
withDbUser(String dbUser)
The database user name.
|
ListTablesRequest |
withMaxResults(Integer maxResults)
The maximum number of tables to return in the response.
|
ListTablesRequest |
withNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
ListTablesRequest |
withSchemaPattern(String schemaPattern)
A pattern to filter results by schema name.
|
ListTablesRequest |
withSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
|
ListTablesRequest |
withTablePattern(String tablePattern)
A pattern to filter results by table name.
|
ListTablesRequest |
withWorkgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN).
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClusterIdentifier(String clusterIdentifier)
The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
clusterIdentifier
- The cluster identifier. This parameter is required when connecting to a cluster and authenticating using
either Secrets Manager or temporary credentials.public String getClusterIdentifier()
The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
public ListTablesRequest withClusterIdentifier(String clusterIdentifier)
The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
clusterIdentifier
- The cluster identifier. This parameter is required when connecting to a cluster and authenticating using
either Secrets Manager or temporary credentials.public void setConnectedDatabase(String connectedDatabase)
A database name. The connected database is specified when you connect with your authentication credentials.
connectedDatabase
- A database name. The connected database is specified when you connect with your authentication
credentials.public String getConnectedDatabase()
A database name. The connected database is specified when you connect with your authentication credentials.
public ListTablesRequest withConnectedDatabase(String connectedDatabase)
A database name. The connected database is specified when you connect with your authentication credentials.
connectedDatabase
- A database name. The connected database is specified when you connect with your authentication
credentials.public void setDatabase(String database)
The name of the database that contains the tables to list. If ConnectedDatabase
is not specified,
this is also the database to connect to with your authentication credentials.
database
- The name of the database that contains the tables to list. If ConnectedDatabase
is not
specified, this is also the database to connect to with your authentication credentials.public String getDatabase()
The name of the database that contains the tables to list. If ConnectedDatabase
is not specified,
this is also the database to connect to with your authentication credentials.
ConnectedDatabase
is not
specified, this is also the database to connect to with your authentication credentials.public ListTablesRequest withDatabase(String database)
The name of the database that contains the tables to list. If ConnectedDatabase
is not specified,
this is also the database to connect to with your authentication credentials.
database
- The name of the database that contains the tables to list. If ConnectedDatabase
is not
specified, this is also the database to connect to with your authentication credentials.public void setDbUser(String dbUser)
The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials.
dbUser
- The database user name. This parameter is required when connecting to a cluster as a database user and
authenticating using temporary credentials.public String getDbUser()
The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials.
public ListTablesRequest withDbUser(String dbUser)
The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials.
dbUser
- The database user name. This parameter is required when connecting to a cluster as a database user and
authenticating using temporary credentials.public void setMaxResults(Integer maxResults)
The maximum number of tables to return in the response. If more tables exist than fit in one response, then
NextToken
is returned to page through the results.
maxResults
- The maximum number of tables to return in the response. If more tables exist than fit in one response,
then NextToken
is returned to page through the results.public Integer getMaxResults()
The maximum number of tables to return in the response. If more tables exist than fit in one response, then
NextToken
is returned to page through the results.
NextToken
is returned to page through the results.public ListTablesRequest withMaxResults(Integer maxResults)
The maximum number of tables to return in the response. If more tables exist than fit in one response, then
NextToken
is returned to page through the results.
maxResults
- The maximum number of tables to return in the response. If more tables exist than fit in one response,
then NextToken
is returned to page through the results.public void setNextToken(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.
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.public String getNextToken()
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.
public ListTablesRequest withNextToken(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.
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.public void setSchemaPattern(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. If SchemaPattern
is not specified, then all tables that match TablePattern
are returned. If neither SchemaPattern
or TablePattern
are specified, then all tables
are returned.
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. If SchemaPattern
is not specified, then all tables that match
TablePattern
are returned. If neither SchemaPattern
or TablePattern
are specified, then all tables are returned.public String getSchemaPattern()
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. If SchemaPattern
is not specified, then all tables that match TablePattern
are returned. If neither SchemaPattern
or TablePattern
are specified, then all tables
are returned.
SchemaPattern
is not specified, then all tables that match
TablePattern
are returned. If neither SchemaPattern
or
TablePattern
are specified, then all tables are returned.public ListTablesRequest withSchemaPattern(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. If SchemaPattern
is not specified, then all tables that match TablePattern
are returned. If neither SchemaPattern
or TablePattern
are specified, then all tables
are returned.
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. If SchemaPattern
is not specified, then all tables that match
TablePattern
are returned. If neither SchemaPattern
or TablePattern
are specified, then all tables are returned.public void setSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.
secretArn
- The name or ARN of the secret that enables access to the database. This parameter is required when
authenticating using Secrets Manager.public String getSecretArn()
The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.
public ListTablesRequest withSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.
secretArn
- The name or ARN of the secret that enables access to the database. This parameter is required when
authenticating using Secrets Manager.public void setTablePattern(String tablePattern)
A pattern to filter results by table name. Within a table pattern, "%" means match any substring of 0 or more
characters and "_" means match any one character. Only table name entries matching the search pattern are
returned. If TablePattern
is not specified, then all tables that match SchemaPattern
are
returned. If neither SchemaPattern
or TablePattern
are specified, then all tables are
returned.
tablePattern
- A pattern to filter results by table name. Within a table pattern, "%" means match any substring of 0 or
more characters and "_" means match any one character. Only table name entries matching the search pattern
are returned. If TablePattern
is not specified, then all tables that match
SchemaPattern
are returned. If neither SchemaPattern
or TablePattern
are specified, then all tables are returned.public String getTablePattern()
A pattern to filter results by table name. Within a table pattern, "%" means match any substring of 0 or more
characters and "_" means match any one character. Only table name entries matching the search pattern are
returned. If TablePattern
is not specified, then all tables that match SchemaPattern
are
returned. If neither SchemaPattern
or TablePattern
are specified, then all tables are
returned.
TablePattern
is not specified, then all tables that match
SchemaPattern
are returned. If neither SchemaPattern
or
TablePattern
are specified, then all tables are returned.public ListTablesRequest withTablePattern(String tablePattern)
A pattern to filter results by table name. Within a table pattern, "%" means match any substring of 0 or more
characters and "_" means match any one character. Only table name entries matching the search pattern are
returned. If TablePattern
is not specified, then all tables that match SchemaPattern
are
returned. If neither SchemaPattern
or TablePattern
are specified, then all tables are
returned.
tablePattern
- A pattern to filter results by table name. Within a table pattern, "%" means match any substring of 0 or
more characters and "_" means match any one character. Only table name entries matching the search pattern
are returned. If TablePattern
is not specified, then all tables that match
SchemaPattern
are returned. If neither SchemaPattern
or TablePattern
are specified, then all tables are returned.public void setWorkgroupName(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.
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.public String getWorkgroupName()
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.
public ListTablesRequest withWorkgroupName(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.
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.public String toString()
toString
in class Object
Object.toString()
public ListTablesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()