@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeleteTableVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchDeleteTableVersionRequest() |
Modifier and Type | Method and Description |
---|---|
BatchDeleteTableVersionRequest |
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 tables reside.
|
String |
getDatabaseName()
The database in the catalog in which the table resides.
|
String |
getTableName()
The name of the table.
|
List<String> |
getVersionIds()
A list of the IDs of versions to be deleted.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog where the tables reside.
|
void |
setDatabaseName(String databaseName)
The database in the catalog in which the table resides.
|
void |
setTableName(String tableName)
The name of the table.
|
void |
setVersionIds(Collection<String> versionIds)
A list of the IDs of versions to be deleted.
|
String |
toString()
Returns a string representation of this object.
|
BatchDeleteTableVersionRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog where the tables reside.
|
BatchDeleteTableVersionRequest |
withDatabaseName(String databaseName)
The database in the catalog in which the table resides.
|
BatchDeleteTableVersionRequest |
withTableName(String tableName)
The name of the table.
|
BatchDeleteTableVersionRequest |
withVersionIds(Collection<String> versionIds)
A list of the IDs of versions to be deleted.
|
BatchDeleteTableVersionRequest |
withVersionIds(String... versionIds)
A list of the IDs of versions to be deleted.
|
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 tables reside. If none is provided, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Data Catalog where the tables reside. 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 tables reside. If none is provided, the Amazon Web Services account ID is used by default.
public BatchDeleteTableVersionRequest withCatalogId(String catalogId)
The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account
ID is used by default.public void setDatabaseName(String databaseName)
The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
databaseName
- The database in the catalog in which the table resides. For Hive compatibility, this name is entirely
lowercase.public String getDatabaseName()
The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
public BatchDeleteTableVersionRequest withDatabaseName(String databaseName)
The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
databaseName
- The database in the catalog in which the table resides. For Hive compatibility, this name is entirely
lowercase.public void setTableName(String tableName)
The name of the table. For Hive compatibility, this name is entirely lowercase.
tableName
- The name of the table. For Hive compatibility, this name is entirely lowercase.public String getTableName()
The name of the table. For Hive compatibility, this name is entirely lowercase.
public BatchDeleteTableVersionRequest withTableName(String tableName)
The name of the table. For Hive compatibility, this name is entirely lowercase.
tableName
- The name of the table. For Hive compatibility, this name is entirely lowercase.public List<String> getVersionIds()
A list of the IDs of versions to be deleted. A VersionId
is a string representation of an integer.
Each version is incremented by 1.
VersionId
is a string representation of an
integer. Each version is incremented by 1.public void setVersionIds(Collection<String> versionIds)
A list of the IDs of versions to be deleted. A VersionId
is a string representation of an integer.
Each version is incremented by 1.
versionIds
- A list of the IDs of versions to be deleted. A VersionId
is a string representation of an
integer. Each version is incremented by 1.public BatchDeleteTableVersionRequest withVersionIds(String... versionIds)
A list of the IDs of versions to be deleted. A VersionId
is a string representation of an integer.
Each version is incremented by 1.
NOTE: This method appends the values to the existing list (if any). Use
setVersionIds(java.util.Collection)
or withVersionIds(java.util.Collection)
if you want to
override the existing values.
versionIds
- A list of the IDs of versions to be deleted. A VersionId
is a string representation of an
integer. Each version is incremented by 1.public BatchDeleteTableVersionRequest withVersionIds(Collection<String> versionIds)
A list of the IDs of versions to be deleted. A VersionId
is a string representation of an integer.
Each version is incremented by 1.
versionIds
- A list of the IDs of versions to be deleted. A VersionId
is a string representation of an
integer. Each version is incremented by 1.public String toString()
toString
in class Object
Object.toString()
public BatchDeleteTableVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()