@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchUpdateDetectorErrorEntry extends Object implements Serializable, Cloneable, StructuredPojo
Information about the error that occured 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 code of the error.
|
String |
getErrorMessage()
A message describing 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 code of the error.
|
void |
setErrorMessage(String errorMessage)
A message describing 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 code of the error.
|
BatchUpdateDetectorErrorEntry |
withErrorCode(String errorCode)
The code of the error.
|
BatchUpdateDetectorErrorEntry |
withErrorMessage(String errorMessage)
A message describing 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 code of the error.
errorCode
- The code of the error.ErrorCode
public String getErrorCode()
The code of the error.
ErrorCode
public BatchUpdateDetectorErrorEntry withErrorCode(String errorCode)
The code of the error.
errorCode
- The code of the error.ErrorCode
public BatchUpdateDetectorErrorEntry withErrorCode(ErrorCode errorCode)
The code of the error.
errorCode
- The code of the error.ErrorCode
public void setErrorMessage(String errorMessage)
A message describing the error.
errorMessage
- A message describing the error.public String getErrorMessage()
A message describing the error.
public BatchUpdateDetectorErrorEntry withErrorMessage(String errorMessage)
A message describing the error.
errorMessage
- A message describing 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.