Class RemoveTargetsResultEntry
- java.lang.Object
-
- com.amazonaws.services.cloudwatchevents.model.RemoveTargetsResultEntry
-
- All Implemented Interfaces:
Serializable,Cloneable
public class RemoveTargetsResultEntry extends Object implements Serializable, Cloneable
The ID of the target requested to be removed from the rule by Amazon CloudWatch Events.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoveTargetsResultEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoveTargetsResultEntryclone()booleanequals(Object obj)StringgetErrorCode()The error code representing why the target removal failed on this entry.StringgetErrorMessage()The error message explaining why the target removal failed on this entry.StringgetTargetId()The ID of the target requested to be removed by Amazon CloudWatch Events.inthashCode()voidsetErrorCode(String errorCode)The error code representing why the target removal failed on this entry.voidsetErrorMessage(String errorMessage)The error message explaining why the target removal failed on this entry.voidsetTargetId(String targetId)The ID of the target requested to be removed by Amazon CloudWatch Events.StringtoString()Returns a string representation of this object; useful for testing and debugging.RemoveTargetsResultEntrywithErrorCode(String errorCode)The error code representing why the target removal failed on this entry.RemoveTargetsResultEntrywithErrorMessage(String errorMessage)The error message explaining why the target removal failed on this entry.RemoveTargetsResultEntrywithTargetId(String targetId)The ID of the target requested to be removed by Amazon CloudWatch Events.
-
-
-
Method Detail
-
setTargetId
public void setTargetId(String targetId)
The ID of the target requested to be removed by Amazon CloudWatch Events.
- Parameters:
targetId- The ID of the target requested to be removed by Amazon CloudWatch Events.
-
getTargetId
public String getTargetId()
The ID of the target requested to be removed by Amazon CloudWatch Events.
- Returns:
- The ID of the target requested to be removed by Amazon CloudWatch Events.
-
withTargetId
public RemoveTargetsResultEntry withTargetId(String targetId)
The ID of the target requested to be removed by Amazon CloudWatch Events.
- Parameters:
targetId- The ID of the target requested to be removed by Amazon CloudWatch Events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrorCode
public void setErrorCode(String errorCode)
The error code representing why the target removal failed on this entry.
- Parameters:
errorCode- The error code representing why the target removal failed on this entry.
-
getErrorCode
public String getErrorCode()
The error code representing why the target removal failed on this entry.
- Returns:
- The error code representing why the target removal failed on this entry.
-
withErrorCode
public RemoveTargetsResultEntry withErrorCode(String errorCode)
The error code representing why the target removal failed on this entry.
- Parameters:
errorCode- The error code representing why the target removal failed on this entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrorMessage
public void setErrorMessage(String errorMessage)
The error message explaining why the target removal failed on this entry.
- Parameters:
errorMessage- The error message explaining why the target removal failed on this entry.
-
getErrorMessage
public String getErrorMessage()
The error message explaining why the target removal failed on this entry.
- Returns:
- The error message explaining why the target removal failed on this entry.
-
withErrorMessage
public RemoveTargetsResultEntry withErrorMessage(String errorMessage)
The error message explaining why the target removal failed on this entry.
- Parameters:
errorMessage- The error message explaining why the target removal failed on this entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RemoveTargetsResultEntry clone()
-
-