@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 which to update the partition.
|
List<String> |
getPartitionValueList()
A list of the values defining the partition.
|
String |
getTableName()
The name of the table where 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 which to update the partition.
|
void |
setPartitionValueList(Collection<String> partitionValueList)
A list of the values defining the partition.
|
void |
setTableName(String tableName)
The name of the table where the partition to be updated is located.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 which to update the partition.
|
UpdatePartitionRequest |
withPartitionValueList(Collection<String> partitionValueList)
A list of the values defining the partition.
|
UpdatePartitionRequest |
withPartitionValueList(String... partitionValueList)
A list of the values defining the partition.
|
UpdatePartitionRequest |
withTableName(String tableName)
The name of the table where 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 supplied, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog where the partition to be updated 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 updated resides. If none is supplied, the AWS 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 supplied, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog where the partition to be updated 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 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 where the partition to be updated is located.
tableName
- The name of the table where the partition to be updated is located.public String getTableName()
The name of the table where the partition to be updated is located.
public UpdatePartitionRequest withTableName(String tableName)
The name of the table where the partition to be updated is located.
tableName
- The name of the table where the partition to be updated is located.public List<String> getPartitionValueList()
A list of the values defining the partition.
public void setPartitionValueList(Collection<String> partitionValueList)
A list of the values defining the partition.
partitionValueList
- A list of the values defining the partition.public UpdatePartitionRequest withPartitionValueList(String... partitionValueList)
A list of the values defining the partition.
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
- A list of the values defining the partition.public UpdatePartitionRequest withPartitionValueList(Collection<String> partitionValueList)
A list of the values defining the partition.
partitionValueList
- A list of the values defining the partition.public void setPartitionInput(PartitionInput partitionInput)
The new partition object to which to update the partition.
partitionInput
- The new partition object to which to update the partition.public PartitionInput getPartitionInput()
The new partition object to which to update the partition.
public UpdatePartitionRequest withPartitionInput(PartitionInput partitionInput)
The new partition object to which to update the partition.
partitionInput
- The new partition object to which to update the partition.public String toString()
toString
in class Object
Object.toString()
public UpdatePartitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.