@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) |
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 Object
Object.toString()
public PartitionObjects clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.