@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.IngestionErrorType
public String getType()
Error type.
IngestionErrorType
public ErrorInfo withType(String type)
Error type.
type
- Error type.IngestionErrorType
public ErrorInfo withType(IngestionErrorType type)
Error type.
type
- Error type.IngestionErrorType
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.