@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTableRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeTableRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTableRequest |
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 be described.
|
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 |
getSchema()
The schema that contains the table.
|
String |
getSecretArn()
The name or ARN of the secret that enables access to the database.
|
String |
getTable()
The 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 be described.
|
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 |
setSchema(String schema)
The schema that contains the table.
|
void |
setSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
|
void |
setTable(String table)
The table name.
|
void |
setWorkgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN).
|
String |
toString()
Returns a string representation of this object.
|
DescribeTableRequest |
withClusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
DescribeTableRequest |
withConnectedDatabase(String connectedDatabase)
A database name.
|
DescribeTableRequest |
withDatabase(String database)
The name of the database that contains the tables to be described.
|
DescribeTableRequest |
withDbUser(String dbUser)
The database user name.
|
DescribeTableRequest |
withMaxResults(Integer maxResults)
The maximum number of tables to return in the response.
|
DescribeTableRequest |
withNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
DescribeTableRequest |
withSchema(String schema)
The schema that contains the table.
|
DescribeTableRequest |
withSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
|
DescribeTableRequest |
withTable(String table)
The table name.
|
DescribeTableRequest |
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 DescribeTableRequest 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 DescribeTableRequest 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 be described. 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 be described. 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 be described. 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 DescribeTableRequest withDatabase(String database)
The name of the database that contains the tables to be described. 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 be described. 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 DescribeTableRequest 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 DescribeTableRequest 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 DescribeTableRequest 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 setSchema(String schema)
The schema that contains the table. If no schema is specified, then matching tables for all schemas are returned.
schema
- The schema that contains the table. If no schema is specified, then matching tables for all schemas are
returned.public String getSchema()
The schema that contains the table. If no schema is specified, then matching tables for all schemas are returned.
public DescribeTableRequest withSchema(String schema)
The schema that contains the table. If no schema is specified, then matching tables for all schemas are returned.
schema
- The schema that contains the table. If no schema is specified, then matching tables for all schemas 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 DescribeTableRequest 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 setTable(String table)
The table name. If no table is specified, then all tables for all matching schemas are returned. If no table and no schema is specified, then all tables for all schemas in the database are returned
table
- The table name. If no table is specified, then all tables for all matching schemas are returned. If no
table and no schema is specified, then all tables for all schemas in the database are returnedpublic String getTable()
The table name. If no table is specified, then all tables for all matching schemas are returned. If no table and no schema is specified, then all tables for all schemas in the database are returned
public DescribeTableRequest withTable(String table)
The table name. If no table is specified, then all tables for all matching schemas are returned. If no table and no schema is specified, then all tables for all schemas in the database are returned
table
- The table name. If no table is specified, then all tables for all matching schemas are returned. If no
table and no schema is specified, then all tables for all schemas in the database are returnedpublic 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 DescribeTableRequest 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 DescribeTableRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()