@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePartitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdatePartitionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePartitionRequest |
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 updated resides.
|
String |
getDatabaseName()
The name of the catalog database in which the table in question resides.
|
PartitionInput |
getPartitionInput()
The new partition object to update the partition to.
|
List<String> |
getPartitionValueList()
List of partition key values that define the partition to update.
|
String |
getTableName()
The name of the table in which the partition to be updated is located.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog where the partition to be updated resides.
|
void |
setDatabaseName(String databaseName)
The name of the catalog database in which the table in question resides.
|
void |
setPartitionInput(PartitionInput partitionInput)
The new partition object to update the partition to.
|
void |
setPartitionValueList(Collection<String> partitionValueList)
List of partition key values that define the partition to update.
|
void |
setTableName(String tableName)
The name of the table in which the partition to be updated is located.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePartitionRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog where the partition to be updated resides.
|
UpdatePartitionRequest |
withDatabaseName(String databaseName)
The name of the catalog database in which the table in question resides.
|
UpdatePartitionRequest |
withPartitionInput(PartitionInput partitionInput)
The new partition object to update the partition to.
|
UpdatePartitionRequest |
withPartitionValueList(Collection<String> partitionValueList)
List of partition key values that define the partition to update.
|
UpdatePartitionRequest |
withPartitionValueList(String... partitionValueList)
List of partition key values that define the partition to update.
|
UpdatePartitionRequest |
withTableName(String tableName)
The name of the table in which the partition to be updated 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 updated 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 updated 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 updated resides. If none is provided, the Amazon Web Services account ID is used by default.
public UpdatePartitionRequest withCatalogId(String catalogId)
The ID of the Data Catalog where the partition to be updated 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 updated 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 UpdatePartitionRequest 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 in which the partition to be updated is located.
tableName
- The name of the table in which the partition to be updated is located.public String getTableName()
The name of the table in which the partition to be updated is located.
public UpdatePartitionRequest withTableName(String tableName)
The name of the table in which the partition to be updated is located.
tableName
- The name of the table in which the partition to be updated is located.public List<String> getPartitionValueList()
List of partition key values that define the partition to update.
public void setPartitionValueList(Collection<String> partitionValueList)
List of partition key values that define the partition to update.
partitionValueList
- List of partition key values that define the partition to update.public UpdatePartitionRequest withPartitionValueList(String... partitionValueList)
List of partition key values that define the partition to update.
NOTE: This method appends the values to the existing list (if any). Use
setPartitionValueList(java.util.Collection)
or withPartitionValueList(java.util.Collection)
if
you want to override the existing values.
partitionValueList
- List of partition key values that define the partition to update.public UpdatePartitionRequest withPartitionValueList(Collection<String> partitionValueList)
List of partition key values that define the partition to update.
partitionValueList
- List of partition key values that define the partition to update.public void setPartitionInput(PartitionInput partitionInput)
The new partition object to update the partition to.
The Values
property can't be changed. If you want to change the partition key values for a
partition, delete and recreate the partition.
partitionInput
- The new partition object to update the partition to.
The Values
property can't be changed. If you want to change the partition key values for a
partition, delete and recreate the partition.
public PartitionInput getPartitionInput()
The new partition object to update the partition to.
The Values
property can't be changed. If you want to change the partition key values for a
partition, delete and recreate the partition.
The Values
property can't be changed. If you want to change the partition key values for a
partition, delete and recreate the partition.
public UpdatePartitionRequest withPartitionInput(PartitionInput partitionInput)
The new partition object to update the partition to.
The Values
property can't be changed. If you want to change the partition key values for a
partition, delete and recreate the partition.
partitionInput
- The new partition object to update the partition to.
The Values
property can't be changed. If you want to change the partition key values for a
partition, delete and recreate the partition.
public String toString()
toString
in class Object
Object.toString()
public UpdatePartitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()