Class RemoveTargetsResult
- java.lang.Object
-
- com.amazonaws.services.cloudwatchevents.model.RemoveTargetsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class RemoveTargetsResult extends Object implements Serializable, Cloneable
The result of the RemoveTargets operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoveTargetsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoveTargetsResult
clone()
boolean
equals(Object obj)
List<RemoveTargetsResultEntry>
getFailedEntries()
An array of failed target entries.Integer
getFailedEntryCount()
The number of failed entries.int
hashCode()
void
setFailedEntries(Collection<RemoveTargetsResultEntry> failedEntries)
An array of failed target entries.void
setFailedEntryCount(Integer failedEntryCount)
The number of failed entries.String
toString()
Returns a string representation of this object; useful for testing and debugging.RemoveTargetsResult
withFailedEntries(RemoveTargetsResultEntry... failedEntries)
An array of failed target entries.RemoveTargetsResult
withFailedEntries(Collection<RemoveTargetsResultEntry> failedEntries)
An array of failed target entries.RemoveTargetsResult
withFailedEntryCount(Integer failedEntryCount)
The number of failed entries.
-
-
-
Method Detail
-
setFailedEntryCount
public void setFailedEntryCount(Integer failedEntryCount)
The number of failed entries.
- Parameters:
failedEntryCount
- The number of failed entries.
-
getFailedEntryCount
public Integer getFailedEntryCount()
The number of failed entries.
- Returns:
- The number of failed entries.
-
withFailedEntryCount
public RemoveTargetsResult withFailedEntryCount(Integer failedEntryCount)
The number of failed entries.
- Parameters:
failedEntryCount
- The number of failed entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFailedEntries
public List<RemoveTargetsResultEntry> getFailedEntries()
An array of failed target entries.
- Returns:
- An array of failed target entries.
-
setFailedEntries
public void setFailedEntries(Collection<RemoveTargetsResultEntry> failedEntries)
An array of failed target entries.
- Parameters:
failedEntries
- An array of failed target entries.
-
withFailedEntries
public RemoveTargetsResult withFailedEntries(RemoveTargetsResultEntry... failedEntries)
An array of failed target entries.
NOTE: This method appends the values to the existing list (if any). Use
setFailedEntries(java.util.Collection)
orwithFailedEntries(java.util.Collection)
if you want to override the existing values.- Parameters:
failedEntries
- An array of failed target entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFailedEntries
public RemoveTargetsResult withFailedEntries(Collection<RemoveTargetsResultEntry> failedEntries)
An array of failed target entries.
- Parameters:
failedEntries
- An array of failed target entries.- 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RemoveTargetsResult clone()
-
-