@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeletePartitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchDeletePartitionRequest() |
Modifier and Type | Method and Description |
---|---|
BatchDeletePartitionRequest |
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 partition to be deleted resides.
|
String |
getDatabaseName()
The name of the catalog database in which the table in question resides.
|
List<PartitionValueList> |
getPartitionsToDelete()
A list of
PartitionInput structures that define the partitions to be deleted. |
String |
getTableName()
The name of the table where the partitions to be deleted is located.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog where the partition to be deleted resides.
|
void |
setDatabaseName(String databaseName)
The name of the catalog database in which the table in question resides.
|
void |
setPartitionsToDelete(Collection<PartitionValueList> partitionsToDelete)
A list of
PartitionInput structures that define the partitions to be deleted. |
void |
setTableName(String tableName)
The name of the table where the partitions to be deleted is located.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BatchDeletePartitionRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog where the partition to be deleted resides.
|
BatchDeletePartitionRequest |
withDatabaseName(String databaseName)
The name of the catalog database in which the table in question resides.
|
BatchDeletePartitionRequest |
withPartitionsToDelete(Collection<PartitionValueList> partitionsToDelete)
A list of
PartitionInput structures that define the partitions to be deleted. |
BatchDeletePartitionRequest |
withPartitionsToDelete(PartitionValueList... partitionsToDelete)
A list of
PartitionInput structures that define the partitions to be deleted. |
BatchDeletePartitionRequest |
withTableName(String tableName)
The name of the table where the partitions to be deleted is located.
|
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 partition to be deleted resides. If none is supplied, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog where the partition to be deleted resides. If none is supplied, the AWS account
ID is used by default.public String getCatalogId()
The ID of the Data Catalog where the partition to be deleted resides. If none is supplied, the AWS account ID is used by default.
public BatchDeletePartitionRequest withCatalogId(String catalogId)
The ID of the Data Catalog where the partition to be deleted resides. If none is supplied, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog where the partition to be deleted resides. If none is supplied, the AWS account
ID is used by default.public void setDatabaseName(String databaseName)
The name of the catalog database in which the table in question resides.
databaseName
- The name of the catalog database in which the table in question resides.public String getDatabaseName()
The name of the catalog database in which the table in question resides.
public BatchDeletePartitionRequest withDatabaseName(String databaseName)
The name of the catalog database in which the table in question resides.
databaseName
- The name of the catalog database in which the table in question resides.public void setTableName(String tableName)
The name of the table where the partitions to be deleted is located.
tableName
- The name of the table where the partitions to be deleted is located.public String getTableName()
The name of the table where the partitions to be deleted is located.
public BatchDeletePartitionRequest withTableName(String tableName)
The name of the table where the partitions to be deleted is located.
tableName
- The name of the table where the partitions to be deleted is located.public List<PartitionValueList> getPartitionsToDelete()
A list of PartitionInput
structures that define the partitions to be deleted.
PartitionInput
structures that define the partitions to be deleted.public void setPartitionsToDelete(Collection<PartitionValueList> partitionsToDelete)
A list of PartitionInput
structures that define the partitions to be deleted.
partitionsToDelete
- A list of PartitionInput
structures that define the partitions to be deleted.public BatchDeletePartitionRequest withPartitionsToDelete(PartitionValueList... partitionsToDelete)
A list of PartitionInput
structures that define the partitions to be deleted.
NOTE: This method appends the values to the existing list (if any). Use
setPartitionsToDelete(java.util.Collection)
or withPartitionsToDelete(java.util.Collection)
if
you want to override the existing values.
partitionsToDelete
- A list of PartitionInput
structures that define the partitions to be deleted.public BatchDeletePartitionRequest withPartitionsToDelete(Collection<PartitionValueList> partitionsToDelete)
A list of PartitionInput
structures that define the partitions to be deleted.
partitionsToDelete
- A list of PartitionInput
structures that define the partitions to be deleted.public String toString()
toString
in class Object
Object.toString()
public BatchDeletePartitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.