@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorInfo extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about an error state of the cluster.
Constructor and Description |
---|
ErrorInfo() |
Modifier and Type | Method and Description |
---|---|
ErrorInfo |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
A number describing the error programmatically.
|
String |
getErrorString()
An optional field to provide more details about the error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
A number describing the error programmatically.
|
void |
setErrorString(String errorString)
An optional field to provide more details about the error.
|
String |
toString()
Returns a string representation of this object.
|
ErrorInfo |
withErrorCode(String errorCode)
A number describing the error programmatically.
|
ErrorInfo |
withErrorString(String errorString)
An optional field to provide more details about the error.
|
public void setErrorCode(String errorCode)
A number describing the error programmatically.
errorCode
- A number describing the error programmatically.
public String getErrorCode()
A number describing the error programmatically.
A number describing the error programmatically.
public ErrorInfo withErrorCode(String errorCode)
A number describing the error programmatically.
errorCode
- A number describing the error programmatically.
public void setErrorString(String errorString)
An optional field to provide more details about the error.
errorString
- An optional field to provide more details about the error.
public String getErrorString()
An optional field to provide more details about the error.
An optional field to provide more details about the error.
public ErrorInfo withErrorString(String errorString)
An optional field to provide more details about the error.
errorString
- An optional field to provide more details about the error.
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.