@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BackfillError extends Object implements Serializable, Cloneable, StructuredPojo
A list of errors that can occur when registering partition indexes for an existing table.
These errors give the details about why an index registration failed and provide a limited number of partitions in the response, so that you can fix the partitions at fault and try registering the index again. The most common set of errors that can occur are categorized as follows:
EncryptedPartitionError: The partitions are encrypted.
InvalidPartitionTypeDataError: The partition value doesn't match the data type for that partition column.
MissingPartitionValueError: The partitions are encrypted.
UnsupportedPartitionCharacterError: Characters inside the partition value are not supported. For example: U+0000 , U+0001, U+0002.
InternalError: Any error which does not belong to other error codes.
Constructor and Description |
---|
BackfillError() |
Modifier and Type | Method and Description |
---|---|
BackfillError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code for an error that occurred when registering partition indexes for an existing table.
|
List<PartitionValueList> |
getPartitions()
A list of a limited number of partitions in the response.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The error code for an error that occurred when registering partition indexes for an existing table.
|
void |
setPartitions(Collection<PartitionValueList> partitions)
A list of a limited number of partitions in the response.
|
String |
toString()
Returns a string representation of this object.
|
BackfillError |
withCode(BackfillErrorCode code)
The error code for an error that occurred when registering partition indexes for an existing table.
|
BackfillError |
withCode(String code)
The error code for an error that occurred when registering partition indexes for an existing table.
|
BackfillError |
withPartitions(Collection<PartitionValueList> partitions)
A list of a limited number of partitions in the response.
|
BackfillError |
withPartitions(PartitionValueList... partitions)
A list of a limited number of partitions in the response.
|
public void setCode(String code)
The error code for an error that occurred when registering partition indexes for an existing table.
code
- The error code for an error that occurred when registering partition indexes for an existing table.BackfillErrorCode
public String getCode()
The error code for an error that occurred when registering partition indexes for an existing table.
BackfillErrorCode
public BackfillError withCode(String code)
The error code for an error that occurred when registering partition indexes for an existing table.
code
- The error code for an error that occurred when registering partition indexes for an existing table.BackfillErrorCode
public BackfillError withCode(BackfillErrorCode code)
The error code for an error that occurred when registering partition indexes for an existing table.
code
- The error code for an error that occurred when registering partition indexes for an existing table.BackfillErrorCode
public List<PartitionValueList> getPartitions()
A list of a limited number of partitions in the response.
public void setPartitions(Collection<PartitionValueList> partitions)
A list of a limited number of partitions in the response.
partitions
- A list of a limited number of partitions in the response.public BackfillError withPartitions(PartitionValueList... partitions)
A list of a limited number of partitions in the response.
NOTE: This method appends the values to the existing list (if any). Use
setPartitions(java.util.Collection)
or withPartitions(java.util.Collection)
if you want to
override the existing values.
partitions
- A list of a limited number of partitions in the response.public BackfillError withPartitions(Collection<PartitionValueList> partitions)
A list of a limited number of partitions in the response.
partitions
- A list of a limited number of partitions in the response.public String toString()
toString
in class Object
Object.toString()
public BackfillError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.