public class PutTargetsResultEntry
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A PutTargetsResult contains a list of PutTargetsResultEntry.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
errorCode
The error code representing why the target submission failed on this
entry.
|
private java.lang.String |
errorMessage
The error message explaining why the target submission failed on this
entry.
|
private java.lang.String |
targetId
The ID of the target submitted to Amazon CloudWatch Events.
|
Constructor and Description |
---|
PutTargetsResultEntry() |
Modifier and Type | Method and Description |
---|---|
PutTargetsResultEntry |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getErrorCode()
The error code representing why the target submission failed on this
entry.
|
java.lang.String |
getErrorMessage()
The error message explaining why the target submission failed on this
entry.
|
java.lang.String |
getTargetId()
The ID of the target submitted to Amazon CloudWatch Events.
|
int |
hashCode() |
void |
setErrorCode(java.lang.String errorCode)
The error code representing why the target submission failed on this
entry.
|
void |
setErrorMessage(java.lang.String errorMessage)
The error message explaining why the target submission failed on this
entry.
|
void |
setTargetId(java.lang.String targetId)
The ID of the target submitted to Amazon CloudWatch Events.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutTargetsResultEntry |
withErrorCode(java.lang.String errorCode)
The error code representing why the target submission failed on this
entry.
|
PutTargetsResultEntry |
withErrorMessage(java.lang.String errorMessage)
The error message explaining why the target submission failed on this
entry.
|
PutTargetsResultEntry |
withTargetId(java.lang.String targetId)
The ID of the target submitted to Amazon CloudWatch Events.
|
private java.lang.String targetId
The ID of the target submitted to Amazon CloudWatch Events.
private java.lang.String errorCode
The error code representing why the target submission failed on this entry.
private java.lang.String errorMessage
The error message explaining why the target submission failed on this entry.
public void setTargetId(java.lang.String targetId)
The ID of the target submitted to Amazon CloudWatch Events.
targetId
- The ID of the target submitted to Amazon CloudWatch Events.public java.lang.String getTargetId()
The ID of the target submitted to Amazon CloudWatch Events.
public PutTargetsResultEntry withTargetId(java.lang.String targetId)
The ID of the target submitted to Amazon CloudWatch Events.
targetId
- The ID of the target submitted to Amazon CloudWatch Events.public void setErrorCode(java.lang.String errorCode)
The error code representing why the target submission failed on this entry.
errorCode
- The error code representing why the target submission failed on
this entry.public java.lang.String getErrorCode()
The error code representing why the target submission failed on this entry.
public PutTargetsResultEntry withErrorCode(java.lang.String errorCode)
The error code representing why the target submission failed on this entry.
errorCode
- The error code representing why the target submission failed on
this entry.public void setErrorMessage(java.lang.String errorMessage)
The error message explaining why the target submission failed on this entry.
errorMessage
- The error message explaining why the target submission failed on
this entry.public java.lang.String getErrorMessage()
The error message explaining why the target submission failed on this entry.
public PutTargetsResultEntry withErrorMessage(java.lang.String errorMessage)
The error message explaining why the target submission failed on this entry.
errorMessage
- The error message explaining why the target submission failed on
this entry.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PutTargetsResultEntry clone()
clone
in class java.lang.Object