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