@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTableRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetTableRequest() |
Modifier and Type | Method and Description |
---|---|
GetTableRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCatalogId()
The ID of the Data Catalog where the table resides.
|
String |
getDatabaseName()
The name of the database in the catalog in which the table resides.
|
String |
getName()
The name of the table for which to retrieve the definition.
|
Date |
getQueryAsOfTime()
The time as of when to read the table contents.
|
String |
getTransactionId()
The transaction ID at which to read the table contents.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog where the table resides.
|
void |
setDatabaseName(String databaseName)
The name of the database in the catalog in which the table resides.
|
void |
setName(String name)
The name of the table for which to retrieve the definition.
|
void |
setQueryAsOfTime(Date queryAsOfTime)
The time as of when to read the table contents.
|
void |
setTransactionId(String transactionId)
The transaction ID at which to read the table contents.
|
String |
toString()
Returns a string representation of this object.
|
GetTableRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog where the table resides.
|
GetTableRequest |
withDatabaseName(String databaseName)
The name of the database in the catalog in which the table resides.
|
GetTableRequest |
withName(String name)
The name of the table for which to retrieve the definition.
|
GetTableRequest |
withQueryAsOfTime(Date queryAsOfTime)
The time as of when to read the table contents.
|
GetTableRequest |
withTransactionId(String transactionId)
The transaction ID at which to read the table contents.
|
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 setCatalogId(String catalogId)
The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account
ID is used by default.public String getCatalogId()
The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.
public GetTableRequest withCatalogId(String catalogId)
The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account
ID is used by default.public void setDatabaseName(String databaseName)
The name of the database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
databaseName
- The name of the database in the catalog in which the table resides. For Hive compatibility, this name is
entirely lowercase.public String getDatabaseName()
The name of the database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
public GetTableRequest withDatabaseName(String databaseName)
The name of the database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
databaseName
- The name of the database in the catalog in which the table resides. For Hive compatibility, this name is
entirely lowercase.public void setName(String name)
The name of the table for which to retrieve the definition. For Hive compatibility, this name is entirely lowercase.
name
- The name of the table for which to retrieve the definition. For Hive compatibility, this name is entirely
lowercase.public String getName()
The name of the table for which to retrieve the definition. For Hive compatibility, this name is entirely lowercase.
public GetTableRequest withName(String name)
The name of the table for which to retrieve the definition. For Hive compatibility, this name is entirely lowercase.
name
- The name of the table for which to retrieve the definition. For Hive compatibility, this name is entirely
lowercase.public void setTransactionId(String transactionId)
The transaction ID at which to read the table contents.
transactionId
- The transaction ID at which to read the table contents.public String getTransactionId()
The transaction ID at which to read the table contents.
public GetTableRequest withTransactionId(String transactionId)
The transaction ID at which to read the table contents.
transactionId
- The transaction ID at which to read the table contents.public void setQueryAsOfTime(Date queryAsOfTime)
The time as of when to read the table contents. If not set, the most recent transaction commit time will be used.
Cannot be specified along with TransactionId
.
queryAsOfTime
- The time as of when to read the table contents. If not set, the most recent transaction commit time will
be used. Cannot be specified along with TransactionId
.public Date getQueryAsOfTime()
The time as of when to read the table contents. If not set, the most recent transaction commit time will be used.
Cannot be specified along with TransactionId
.
TransactionId
.public GetTableRequest withQueryAsOfTime(Date queryAsOfTime)
The time as of when to read the table contents. If not set, the most recent transaction commit time will be used.
Cannot be specified along with TransactionId
.
queryAsOfTime
- The time as of when to read the table contents. If not set, the most recent transaction commit time will
be used. Cannot be specified along with TransactionId
.public String toString()
toString
in class Object
Object.toString()
public GetTableRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()