@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateError extends Object implements Serializable, Cloneable, StructuredPojo
An object containing the error encountered with the last update: ErrorCode
, ErrorMessage
.
Constructor and Description |
---|
UpdateError() |
Modifier and Type | Method and Description |
---|---|
UpdateError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code that corresponds to the error with the last update.
|
String |
getErrorMessage()
The error message that corresponds to the error code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code that corresponds to the error with the last update.
|
void |
setErrorMessage(String errorMessage)
The error message that corresponds to the error code.
|
String |
toString()
Returns a string representation of this object.
|
UpdateError |
withErrorCode(String errorCode)
The error code that corresponds to the error with the last update.
|
UpdateError |
withErrorMessage(String errorMessage)
The error message that corresponds to the error code.
|
public void setErrorCode(String errorCode)
The error code that corresponds to the error with the last update.
errorCode
- The error code that corresponds to the error with the last update.public String getErrorCode()
The error code that corresponds to the error with the last update.
public UpdateError withErrorCode(String errorCode)
The error code that corresponds to the error with the last update.
errorCode
- The error code that corresponds to the error with the last update.public void setErrorMessage(String errorMessage)
The error message that corresponds to the error code.
errorMessage
- The error message that corresponds to the error code.public String getErrorMessage()
The error message that corresponds to the error code.
public UpdateError withErrorMessage(String errorMessage)
The error message that corresponds to the error code.
errorMessage
- The error message that corresponds to the error code.public String toString()
toString
in class Object
Object.toString()
public UpdateError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.