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