@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PartitionError extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a partition error.
Constructor and Description |
---|
PartitionError() |
Modifier and Type | Method and Description |
---|---|
PartitionError |
clone() |
boolean |
equals(Object obj) |
ErrorDetail |
getErrorDetail()
The details about the partition error.
|
List<String> |
getPartitionValues()
The values that define the partition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorDetail(ErrorDetail errorDetail)
The details about the partition error.
|
void |
setPartitionValues(Collection<String> partitionValues)
The values that define the partition.
|
String |
toString()
Returns a string representation of this object.
|
PartitionError |
withErrorDetail(ErrorDetail errorDetail)
The details about the partition error.
|
PartitionError |
withPartitionValues(Collection<String> partitionValues)
The values that define the partition.
|
PartitionError |
withPartitionValues(String... partitionValues)
The values that define the partition.
|
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 PartitionError 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 PartitionError withPartitionValues(Collection<String> partitionValues)
The values that define the partition.
partitionValues
- The values that define the partition.public void setErrorDetail(ErrorDetail errorDetail)
The details about the partition error.
errorDetail
- The details about the partition error.public ErrorDetail getErrorDetail()
The details about the partition error.
public PartitionError withErrorDetail(ErrorDetail errorDetail)
The details about the partition error.
errorDetail
- The details about the partition error.public String toString()
toString
in class Object
Object.toString()
public PartitionError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.