@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PartitionObjects extends Object implements Serializable, Cloneable, StructuredPojo
A structure containing a list of partition values and table objects.
| Constructor and Description |
|---|
PartitionObjects() |
| Modifier and Type | Method and Description |
|---|---|
PartitionObjects |
clone() |
boolean |
equals(Object obj) |
List<TableObject> |
getObjects()
A list of table objects
|
List<String> |
getPartitionValues()
A list of partition values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setObjects(Collection<TableObject> objects)
A list of table objects
|
void |
setPartitionValues(Collection<String> partitionValues)
A list of partition values.
|
String |
toString()
Returns a string representation of this object.
|
PartitionObjects |
withObjects(Collection<TableObject> objects)
A list of table objects
|
PartitionObjects |
withObjects(TableObject... objects)
A list of table objects
|
PartitionObjects |
withPartitionValues(Collection<String> partitionValues)
A list of partition values.
|
PartitionObjects |
withPartitionValues(String... partitionValues)
A list of partition values.
|
public List<String> getPartitionValues()
A list of partition values.
public void setPartitionValues(Collection<String> partitionValues)
A list of partition values.
partitionValues - A list of partition values.public PartitionObjects withPartitionValues(String... partitionValues)
A list of partition values.
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 - A list of partition values.public PartitionObjects withPartitionValues(Collection<String> partitionValues)
A list of partition values.
partitionValues - A list of partition values.public List<TableObject> getObjects()
A list of table objects
public void setObjects(Collection<TableObject> objects)
A list of table objects
objects - A list of table objectspublic PartitionObjects withObjects(TableObject... objects)
A list of table objects
NOTE: This method appends the values to the existing list (if any). Use
setObjects(java.util.Collection) or withObjects(java.util.Collection) if you want to override
the existing values.
objects - A list of table objectspublic PartitionObjects withObjects(Collection<TableObject> objects)
A list of table objects
objects - A list of table objectspublic String toString()
toString in class ObjectObject.toString()public PartitionObjects clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.