@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeleteDetectorErrorEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains error messages associated with the deletion request.
Constructor and Description |
---|
BatchDeleteDetectorErrorEntry() |
Modifier and Type | Method and Description |
---|---|
BatchDeleteDetectorErrorEntry |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
A message that describes the error.
|
String |
getMessageId()
The ID of the message 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 ID of the message that caused the error.
|
String |
toString()
Returns a string representation of this object.
|
BatchDeleteDetectorErrorEntry |
withErrorCode(ErrorCode errorCode)
The error code.
|
BatchDeleteDetectorErrorEntry |
withErrorCode(String errorCode)
The error code.
|
BatchDeleteDetectorErrorEntry |
withErrorMessage(String errorMessage)
A message that describes the error.
|
BatchDeleteDetectorErrorEntry |
withMessageId(String messageId)
The ID of the message that caused the error.
|
public void setMessageId(String messageId)
The ID of the message that caused the error. (See the value of the "messageId"
in the detectors object of the DeleteDetectorRequest
.)
messageId
- The ID of the message that caused the error. (See the value of the "messageId"
in the detectors object of the DeleteDetectorRequest
.)public String getMessageId()
The ID of the message that caused the error. (See the value of the "messageId"
in the detectors object of the DeleteDetectorRequest
.)
"messageId"
in the detectors object of the DeleteDetectorRequest
.)public BatchDeleteDetectorErrorEntry withMessageId(String messageId)
The ID of the message that caused the error. (See the value of the "messageId"
in the detectors object of the DeleteDetectorRequest
.)
messageId
- The ID of the message that caused the error. (See the value of the "messageId"
in the detectors object of the DeleteDetectorRequest
.)public void setErrorCode(String errorCode)
The error code.
errorCode
- The error code.ErrorCode
public String getErrorCode()
The error code.
ErrorCode
public BatchDeleteDetectorErrorEntry withErrorCode(String errorCode)
The error code.
errorCode
- The error code.ErrorCode
public BatchDeleteDetectorErrorEntry 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 BatchDeleteDetectorErrorEntry 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 BatchDeleteDetectorErrorEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.