public class RemoveTargetsResultEntry
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The ID of the target requested to be removed from the rule by Amazon CloudWatch Events.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
errorCode
The error code representing why the target removal failed on this entry.
|
private java.lang.String |
errorMessage
The error message explaining why the target removal failed on this entry.
|
private java.lang.String |
targetId
The ID of the target requested to be removed by Amazon CloudWatch Events.
|
Constructor and Description |
---|
RemoveTargetsResultEntry() |
Modifier and Type | Method and Description |
---|---|
RemoveTargetsResultEntry |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getErrorCode()
The error code representing why the target removal failed on this entry.
|
java.lang.String |
getErrorMessage()
The error message explaining why the target removal failed on this entry.
|
java.lang.String |
getTargetId()
The ID of the target requested to be removed by Amazon CloudWatch Events.
|
int |
hashCode() |
void |
setErrorCode(java.lang.String errorCode)
The error code representing why the target removal failed on this entry.
|
void |
setErrorMessage(java.lang.String errorMessage)
The error message explaining why the target removal failed on this entry.
|
void |
setTargetId(java.lang.String targetId)
The ID of the target requested to be removed by Amazon CloudWatch Events.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveTargetsResultEntry |
withErrorCode(java.lang.String errorCode)
The error code representing why the target removal failed on this entry.
|
RemoveTargetsResultEntry |
withErrorMessage(java.lang.String errorMessage)
The error message explaining why the target removal failed on this entry.
|
RemoveTargetsResultEntry |
withTargetId(java.lang.String targetId)
The ID of the target requested to be removed by Amazon CloudWatch Events.
|
private java.lang.String targetId
The ID of the target requested to be removed by Amazon CloudWatch Events.
private java.lang.String errorCode
The error code representing why the target removal failed on this entry.
private java.lang.String errorMessage
The error message explaining why the target removal failed on this entry.
public void setTargetId(java.lang.String targetId)
The ID of the target requested to be removed by Amazon CloudWatch Events.
targetId
- The ID of the target requested to be removed by Amazon CloudWatch
Events.public java.lang.String getTargetId()
The ID of the target requested to be removed by Amazon CloudWatch Events.
public RemoveTargetsResultEntry withTargetId(java.lang.String targetId)
The ID of the target requested to be removed by Amazon CloudWatch Events.
targetId
- The ID of the target requested to be removed by Amazon CloudWatch
Events.public void setErrorCode(java.lang.String errorCode)
The error code representing why the target removal failed on this entry.
errorCode
- The error code representing why the target removal failed on this
entry.public java.lang.String getErrorCode()
The error code representing why the target removal failed on this entry.
public RemoveTargetsResultEntry withErrorCode(java.lang.String errorCode)
The error code representing why the target removal failed on this entry.
errorCode
- The error code representing why the target removal failed on this
entry.public void setErrorMessage(java.lang.String errorMessage)
The error message explaining why the target removal failed on this entry.
errorMessage
- The error message explaining why the target removal failed on this
entry.public java.lang.String getErrorMessage()
The error message explaining why the target removal failed on this entry.
public RemoveTargetsResultEntry withErrorMessage(java.lang.String errorMessage)
The error message explaining why the target removal failed on this entry.
errorMessage
- The error message explaining why the target removal 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 RemoveTargetsResultEntry clone()
clone
in class java.lang.Object