@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PartitionInput extends Object implements Serializable, Cloneable, StructuredPojo
The structure used to create and update a partion.
Constructor and Description |
---|
PartitionInput() |
Modifier and Type | Method and Description |
---|---|
PartitionInput |
addParametersEntry(String key,
String value) |
PartitionInput |
clearParametersEntries()
Removes all the entries added into Parameters.
|
PartitionInput |
clone() |
boolean |
equals(Object obj) |
Date |
getLastAccessTime()
The last time at which the partition was accessed.
|
Date |
getLastAnalyzedTime()
The last time at which column statistics were computed for this partition.
|
Map<String,String> |
getParameters()
Partition parameters, in the form of a list of key-value pairs.
|
StorageDescriptor |
getStorageDescriptor()
Provides information about the physical location where the partition is stored.
|
List<String> |
getValues()
The values of the partition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastAccessTime(Date lastAccessTime)
The last time at which the partition was accessed.
|
void |
setLastAnalyzedTime(Date lastAnalyzedTime)
The last time at which column statistics were computed for this partition.
|
void |
setParameters(Map<String,String> parameters)
Partition parameters, in the form of a list of key-value pairs.
|
void |
setStorageDescriptor(StorageDescriptor storageDescriptor)
Provides information about the physical location where the partition is stored.
|
void |
setValues(Collection<String> values)
The values of the partition.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PartitionInput |
withLastAccessTime(Date lastAccessTime)
The last time at which the partition was accessed.
|
PartitionInput |
withLastAnalyzedTime(Date lastAnalyzedTime)
The last time at which column statistics were computed for this partition.
|
PartitionInput |
withParameters(Map<String,String> parameters)
Partition parameters, in the form of a list of key-value pairs.
|
PartitionInput |
withStorageDescriptor(StorageDescriptor storageDescriptor)
Provides information about the physical location where the partition is stored.
|
PartitionInput |
withValues(Collection<String> values)
The values of the partition.
|
PartitionInput |
withValues(String... values)
The values of the partition.
|
public List<String> getValues()
The values of the partition.
public void setValues(Collection<String> values)
The values of the partition.
values
- The values of the partition.public PartitionInput withValues(String... values)
The values of the partition.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The values of the partition.public PartitionInput withValues(Collection<String> values)
The values of the partition.
values
- The values of the partition.public void setLastAccessTime(Date lastAccessTime)
The last time at which the partition was accessed.
lastAccessTime
- The last time at which the partition was accessed.public Date getLastAccessTime()
The last time at which the partition was accessed.
public PartitionInput withLastAccessTime(Date lastAccessTime)
The last time at which the partition was accessed.
lastAccessTime
- The last time at which the partition was accessed.public void setStorageDescriptor(StorageDescriptor storageDescriptor)
Provides information about the physical location where the partition is stored.
storageDescriptor
- Provides information about the physical location where the partition is stored.public StorageDescriptor getStorageDescriptor()
Provides information about the physical location where the partition is stored.
public PartitionInput withStorageDescriptor(StorageDescriptor storageDescriptor)
Provides information about the physical location where the partition is stored.
storageDescriptor
- Provides information about the physical location where the partition is stored.public Map<String,String> getParameters()
Partition parameters, in the form of a list of key-value pairs.
public void setParameters(Map<String,String> parameters)
Partition parameters, in the form of a list of key-value pairs.
parameters
- Partition parameters, in the form of a list of key-value pairs.public PartitionInput withParameters(Map<String,String> parameters)
Partition parameters, in the form of a list of key-value pairs.
parameters
- Partition parameters, in the form of a list of key-value pairs.public PartitionInput addParametersEntry(String key, String value)
public PartitionInput clearParametersEntries()
public void setLastAnalyzedTime(Date lastAnalyzedTime)
The last time at which column statistics were computed for this partition.
lastAnalyzedTime
- The last time at which column statistics were computed for this partition.public Date getLastAnalyzedTime()
The last time at which column statistics were computed for this partition.
public PartitionInput withLastAnalyzedTime(Date lastAnalyzedTime)
The last time at which column statistics were computed for this partition.
lastAnalyzedTime
- The last time at which column statistics were computed for this partition.public String toString()
toString
in class Object
Object.toString()
public PartitionInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.