@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorInfo extends Object implements Serializable, Cloneable, StructuredPojo
Error information for the SPICE ingestion of a dataset.
| Constructor and Description | 
|---|
ErrorInfo()  | 
| Modifier and Type | Method and Description | 
|---|---|
ErrorInfo | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getMessage()
 Error message. 
 | 
String | 
getType()
 Error type. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setMessage(String message)
 Error message. 
 | 
void | 
setType(String type)
 Error type. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
ErrorInfo | 
withMessage(String message)
 Error message. 
 | 
ErrorInfo | 
withType(IngestionErrorType type)
 Error type. 
 | 
ErrorInfo | 
withType(String type)
 Error type. 
 | 
public void setType(String type)
Error type.
type - Error type.IngestionErrorTypepublic String getType()
Error type.
IngestionErrorTypepublic ErrorInfo withType(String type)
Error type.
type - Error type.IngestionErrorTypepublic ErrorInfo withType(IngestionErrorType type)
Error type.
type - Error type.IngestionErrorTypepublic void setMessage(String message)
Error message.
message - Error message.public String getMessage()
Error message.
public ErrorInfo withMessage(String message)
Error message.
message - Error message.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.