@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColumnError extends Object implements Serializable, Cloneable, StructuredPojo
Encapsulates a column name that failed and the reason for failure.
Constructor and Description |
---|
ColumnError() |
Modifier and Type | Method and Description |
---|---|
ColumnError |
clone() |
boolean |
equals(Object obj) |
String |
getColumnName()
The name of the column that failed.
|
ErrorDetail |
getError()
An error message with the reason for the failure of an operation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColumnName(String columnName)
The name of the column that failed.
|
void |
setError(ErrorDetail error)
An error message with the reason for the failure of an operation.
|
String |
toString()
Returns a string representation of this object.
|
ColumnError |
withColumnName(String columnName)
The name of the column that failed.
|
ColumnError |
withError(ErrorDetail error)
An error message with the reason for the failure of an operation.
|
public void setColumnName(String columnName)
The name of the column that failed.
columnName
- The name of the column that failed.public String getColumnName()
The name of the column that failed.
public ColumnError withColumnName(String columnName)
The name of the column that failed.
columnName
- The name of the column that failed.public void setError(ErrorDetail error)
An error message with the reason for the failure of an operation.
error
- An error message with the reason for the failure of an operation.public ErrorDetail getError()
An error message with the reason for the failure of an operation.
public ColumnError withError(ErrorDetail error)
An error message with the reason for the failure of an operation.
error
- An error message with the reason for the failure of an operation.public String toString()
toString
in class Object
Object.toString()
public ColumnError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.