@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchUpdateDetectorErrorEntry extends Object implements Serializable, Cloneable, StructuredPojo
Information about the error that occurred when attempting to update a detector.
Constructor and Description |
---|
BatchUpdateDetectorErrorEntry() |
Modifier and Type | Method and Description |
---|---|
BatchUpdateDetectorErrorEntry |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
A message that describes the error.
|
String |
getMessageId()
The
"messageId" of the update request that caused the error. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code.
|
void |
setErrorMessage(String errorMessage)
A message that describes the error.
|
void |
setMessageId(String messageId)
The
"messageId" of the update request that caused the error. |
String |
toString()
Returns a string representation of this object.
|
BatchUpdateDetectorErrorEntry |
withErrorCode(ErrorCode errorCode)
The error code.
|
BatchUpdateDetectorErrorEntry |
withErrorCode(String errorCode)
The error code.
|
BatchUpdateDetectorErrorEntry |
withErrorMessage(String errorMessage)
A message that describes the error.
|
BatchUpdateDetectorErrorEntry |
withMessageId(String messageId)
The
"messageId" of the update request that caused the error. |
public void setMessageId(String messageId)
The "messageId"
of the update request that caused the error. (The value of the
"messageId"
in the update request "Detector"
object.)
messageId
- The "messageId"
of the update request that caused the error. (The value of the
"messageId"
in the update request "Detector"
object.)public String getMessageId()
The "messageId"
of the update request that caused the error. (The value of the
"messageId"
in the update request "Detector"
object.)
"messageId"
of the update request that caused the error. (The value of the
"messageId"
in the update request "Detector"
object.)public BatchUpdateDetectorErrorEntry withMessageId(String messageId)
The "messageId"
of the update request that caused the error. (The value of the
"messageId"
in the update request "Detector"
object.)
messageId
- The "messageId"
of the update request that caused the error. (The value of the
"messageId"
in the update request "Detector"
object.)public void setErrorCode(String errorCode)
The error code.
errorCode
- The error code.ErrorCode
public String getErrorCode()
The error code.
ErrorCode
public BatchUpdateDetectorErrorEntry withErrorCode(String errorCode)
The error code.
errorCode
- The error code.ErrorCode
public BatchUpdateDetectorErrorEntry withErrorCode(ErrorCode errorCode)
The error code.
errorCode
- The error code.ErrorCode
public void setErrorMessage(String errorMessage)
A message that describes the error.
errorMessage
- A message that describes the error.public String getErrorMessage()
A message that describes the error.
public BatchUpdateDetectorErrorEntry withErrorMessage(String errorMessage)
A message that describes the error.
errorMessage
- A message that describes the error.public String toString()
toString
in class Object
Object.toString()
public BatchUpdateDetectorErrorEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.