Class PutTargetsResult
java.lang.Object
com.amazonaws.services.cloudwatchevents.model.PutTargetsResult
- All Implemented Interfaces:
Serializable
,Cloneable
The result of the PutTargets operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
An array of failed target entries.The number of failed entries.int
hashCode()
void
setFailedEntries
(Collection<PutTargetsResultEntry> failedEntries) An array of failed target entries.void
setFailedEntryCount
(Integer failedEntryCount) The number of failed entries.toString()
Returns a string representation of this object; useful for testing and debugging.withFailedEntries
(PutTargetsResultEntry... failedEntries) An array of failed target entries.withFailedEntries
(Collection<PutTargetsResultEntry> failedEntries) An array of failed target entries.withFailedEntryCount
(Integer failedEntryCount) The number of failed entries.
-
Constructor Details
-
PutTargetsResult
public PutTargetsResult()
-
-
Method Details
-
setFailedEntryCount
The number of failed entries.
- Parameters:
failedEntryCount
- The number of failed entries.
-
getFailedEntryCount
The number of failed entries.
- Returns:
- The number of failed entries.
-
withFailedEntryCount
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
An array of failed target entries.
- Returns:
- An array of failed target entries.
-
setFailedEntries
An array of failed target entries.
- Parameters:
failedEntries
- An array of failed target entries.
-
withFailedEntries
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-