@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 that contains the partition to be deleted.
|
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 that contains the partition to be deleted.
|
String |
toString()
Returns a string representation of this object.
|
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 that contains the partition 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 partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Data Catalog where the partition to be deleted 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 partition to be deleted resides. If none is provided, the Amazon Web Services 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 provided, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Data Catalog where the partition to be deleted 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 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 that contains the partition to be deleted.
tableName
- The name of the table that contains the partition to be deleted.public String getTableName()
The name of the table that contains the partition to be deleted.
public DeletePartitionRequest withTableName(String tableName)
The name of the table that contains the partition to be deleted.
tableName
- The name of the table that contains the partition to be deleted.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()