@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPartitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetPartitionRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetPartitionRequest |
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 in question resides.
|
String |
getDatabaseName()
The name of the catalog database where the partition resides.
|
List<String> |
getPartitionValues()
The values that define the partition.
|
String |
getTableName()
The name of the partition's table.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog where the partition in question resides.
|
void |
setDatabaseName(String databaseName)
The name of the catalog database where the partition resides.
|
void |
setPartitionValues(Collection<String> partitionValues)
The values that define the partition.
|
void |
setTableName(String tableName)
The name of the partition's table.
|
String |
toString()
Returns a string representation of this object.
|
GetPartitionRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog where the partition in question resides.
|
GetPartitionRequest |
withDatabaseName(String databaseName)
The name of the catalog database where the partition resides.
|
GetPartitionRequest |
withPartitionValues(Collection<String> partitionValues)
The values that define the partition.
|
GetPartitionRequest |
withPartitionValues(String... partitionValues)
The values that define the partition.
|
GetPartitionRequest |
withTableName(String tableName)
The name of the partition's table.
|
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, withSdkRequestTimeoutpublic void setCatalogId(String catalogId)
The ID of the Data Catalog where the partition in question 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 in question 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 in question resides. If none is provided, the Amazon Web Services account ID is used by default.
public GetPartitionRequest withCatalogId(String catalogId)
The ID of the Data Catalog where the partition in question 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 in question 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 where the partition resides.
databaseName - The name of the catalog database where the partition resides.public String getDatabaseName()
The name of the catalog database where the partition resides.
public GetPartitionRequest withDatabaseName(String databaseName)
The name of the catalog database where the partition resides.
databaseName - The name of the catalog database where the partition resides.public void setTableName(String tableName)
The name of the partition's table.
tableName - The name of the partition's table.public String getTableName()
The name of the partition's table.
public GetPartitionRequest withTableName(String tableName)
The name of the partition's table.
tableName - The name of the partition's table.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 GetPartitionRequest 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 GetPartitionRequest withPartitionValues(Collection<String> partitionValues)
The values that define the partition.
partitionValues - The values that define the partition.public String toString()
toString in class ObjectObject.toString()public GetPartitionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()