@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTableRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateTableRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTableRequest |
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 catalog database in which the table resides.
|
Boolean |
getForce()
A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
|
Boolean |
getSkipArchive()
By default,
UpdateTable always creates an archived version of the table before updating it. |
TableInput |
getTableInput()
An updated
TableInput object to define the metadata table in the catalog. |
String |
getTransactionId()
The transaction ID at which to update the table contents.
|
String |
getVersionId()
The version ID at which to update the table contents.
|
String |
getViewUpdateAction()
The operation to be performed when updating the view.
|
int |
hashCode() |
Boolean |
isForce()
A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
|
Boolean |
isSkipArchive()
By default,
UpdateTable always creates an archived version of the table before updating it. |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog where the table resides.
|
void |
setDatabaseName(String databaseName)
The name of the catalog database in which the table resides.
|
void |
setForce(Boolean force)
A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
|
void |
setSkipArchive(Boolean skipArchive)
By default,
UpdateTable always creates an archived version of the table before updating it. |
void |
setTableInput(TableInput tableInput)
An updated
TableInput object to define the metadata table in the catalog. |
void |
setTransactionId(String transactionId)
The transaction ID at which to update the table contents.
|
void |
setVersionId(String versionId)
The version ID at which to update the table contents.
|
void |
setViewUpdateAction(String viewUpdateAction)
The operation to be performed when updating the view.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTableRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog where the table resides.
|
UpdateTableRequest |
withDatabaseName(String databaseName)
The name of the catalog database in which the table resides.
|
UpdateTableRequest |
withForce(Boolean force)
A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
|
UpdateTableRequest |
withSkipArchive(Boolean skipArchive)
By default,
UpdateTable always creates an archived version of the table before updating it. |
UpdateTableRequest |
withTableInput(TableInput tableInput)
An updated
TableInput object to define the metadata table in the catalog. |
UpdateTableRequest |
withTransactionId(String transactionId)
The transaction ID at which to update the table contents.
|
UpdateTableRequest |
withVersionId(String versionId)
The version ID at which to update the table contents.
|
UpdateTableRequest |
withViewUpdateAction(String viewUpdateAction)
The operation to be performed when updating the view.
|
UpdateTableRequest |
withViewUpdateAction(ViewUpdateAction viewUpdateAction)
The operation to be performed when updating the view.
|
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 UpdateTableRequest 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 catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.
databaseName
- The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely
lowercase.public String getDatabaseName()
The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.
public UpdateTableRequest withDatabaseName(String databaseName)
The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.
databaseName
- The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely
lowercase.public void setTableInput(TableInput tableInput)
An updated TableInput
object to define the metadata table in the catalog.
tableInput
- An updated TableInput
object to define the metadata table in the catalog.public TableInput getTableInput()
An updated TableInput
object to define the metadata table in the catalog.
TableInput
object to define the metadata table in the catalog.public UpdateTableRequest withTableInput(TableInput tableInput)
An updated TableInput
object to define the metadata table in the catalog.
tableInput
- An updated TableInput
object to define the metadata table in the catalog.public void setSkipArchive(Boolean skipArchive)
By default, UpdateTable
always creates an archived version of the table before updating it. However,
if skipArchive
is set to true, UpdateTable
does not create the archived version.
skipArchive
- By default, UpdateTable
always creates an archived version of the table before updating it.
However, if skipArchive
is set to true, UpdateTable
does not create the archived
version.public Boolean getSkipArchive()
By default, UpdateTable
always creates an archived version of the table before updating it. However,
if skipArchive
is set to true, UpdateTable
does not create the archived version.
UpdateTable
always creates an archived version of the table before updating it.
However, if skipArchive
is set to true, UpdateTable
does not create the
archived version.public UpdateTableRequest withSkipArchive(Boolean skipArchive)
By default, UpdateTable
always creates an archived version of the table before updating it. However,
if skipArchive
is set to true, UpdateTable
does not create the archived version.
skipArchive
- By default, UpdateTable
always creates an archived version of the table before updating it.
However, if skipArchive
is set to true, UpdateTable
does not create the archived
version.public Boolean isSkipArchive()
By default, UpdateTable
always creates an archived version of the table before updating it. However,
if skipArchive
is set to true, UpdateTable
does not create the archived version.
UpdateTable
always creates an archived version of the table before updating it.
However, if skipArchive
is set to true, UpdateTable
does not create the
archived version.public void setTransactionId(String transactionId)
The transaction ID at which to update the table contents.
transactionId
- The transaction ID at which to update the table contents.public String getTransactionId()
The transaction ID at which to update the table contents.
public UpdateTableRequest withTransactionId(String transactionId)
The transaction ID at which to update the table contents.
transactionId
- The transaction ID at which to update the table contents.public void setVersionId(String versionId)
The version ID at which to update the table contents.
versionId
- The version ID at which to update the table contents.public String getVersionId()
The version ID at which to update the table contents.
public UpdateTableRequest withVersionId(String versionId)
The version ID at which to update the table contents.
versionId
- The version ID at which to update the table contents.public void setViewUpdateAction(String viewUpdateAction)
The operation to be performed when updating the view.
viewUpdateAction
- The operation to be performed when updating the view.ViewUpdateAction
public String getViewUpdateAction()
The operation to be performed when updating the view.
ViewUpdateAction
public UpdateTableRequest withViewUpdateAction(String viewUpdateAction)
The operation to be performed when updating the view.
viewUpdateAction
- The operation to be performed when updating the view.ViewUpdateAction
public UpdateTableRequest withViewUpdateAction(ViewUpdateAction viewUpdateAction)
The operation to be performed when updating the view.
viewUpdateAction
- The operation to be performed when updating the view.ViewUpdateAction
public void setForce(Boolean force)
A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
force
- A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.public Boolean getForce()
A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
public UpdateTableRequest withForce(Boolean force)
A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
force
- A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.public Boolean isForce()
A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
public String toString()
toString
in class Object
Object.toString()
public UpdateTableRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()