@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeletePartitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeletePartitionRequest() |
Modifier and Type | Method and Description |
---|---|
DeletePartitionRequest |
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<String> |
getPartitionValues()
The values that define the partition.
|
String |
getTableName()
The name of the table where the partition 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 |
setPartitionValues(Collection<String> partitionValues)
The values that define the partition.
|
void |
setTableName(String tableName)
The name of the table where the partition to be deleted is located.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeletePartitionRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog where the partition to be deleted resides.
|
DeletePartitionRequest |
withDatabaseName(String databaseName)
The name of the catalog database in which the table in question resides.
|
DeletePartitionRequest |
withPartitionValues(Collection<String> partitionValues)
The values that define the partition.
|
DeletePartitionRequest |
withPartitionValues(String... partitionValues)
The values that define the partition.
|
DeletePartitionRequest |
withTableName(String tableName)
The name of the table where the partition 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 DeletePartitionRequest 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 DeletePartitionRequest 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 partition to be deleted is located.
tableName
- The name of the table where the partition to be deleted is located.public String getTableName()
The name of the table where the partition to be deleted is located.
public DeletePartitionRequest withTableName(String tableName)
The name of the table where the partition to be deleted is located.
tableName
- The name of the table where the partition to be deleted is located.public List<String> getPartitionValues()
The values that define the partition.
public void setPartitionValues(Collection<String> partitionValues)
The values that define the partition.
partitionValues
- The values that define the partition.public DeletePartitionRequest withPartitionValues(String... partitionValues)
The values that define the partition.
NOTE: This method appends the values to the existing list (if any). Use
setPartitionValues(java.util.Collection)
or withPartitionValues(java.util.Collection)
if you
want to override the existing values.
partitionValues
- The values that define the partition.public DeletePartitionRequest withPartitionValues(Collection<String> partitionValues)
The values that define the partition.
partitionValues
- The values that define the partition.public String toString()
toString
in class Object
Object.toString()
public DeletePartitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.