Class ListTargetsByRuleResult
java.lang.Object
com.amazonaws.services.cloudwatchevents.model.ListTargetsByRuleResult
- All Implemented Interfaces:
Serializable
,Cloneable
The result of the ListTargetsByRule operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates that there are additional results to retrieve.Lists the targets assigned to the rule.int
hashCode()
void
setNextToken
(String nextToken) Indicates that there are additional results to retrieve.void
setTargets
(Collection<Target> targets) Lists the targets assigned to the rule.toString()
Returns a string representation of this object; useful for testing and debugging.withNextToken
(String nextToken) Indicates that there are additional results to retrieve.withTargets
(Target... targets) Lists the targets assigned to the rule.withTargets
(Collection<Target> targets) Lists the targets assigned to the rule.
-
Constructor Details
-
ListTargetsByRuleResult
public ListTargetsByRuleResult()
-
-
Method Details
-
getTargets
Lists the targets assigned to the rule.
- Returns:
- Lists the targets assigned to the rule.
-
setTargets
Lists the targets assigned to the rule.
- Parameters:
targets
- Lists the targets assigned to the rule.
-
withTargets
Lists the targets assigned to the rule.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
orwithTargets(java.util.Collection)
if you want to override the existing values.- Parameters:
targets
- Lists the targets assigned to the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTargets
Lists the targets assigned to the rule.
- Parameters:
targets
- Lists the targets assigned to the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
Indicates that there are additional results to retrieve.
- Parameters:
nextToken
- Indicates that there are additional results to retrieve.
-
getNextToken
Indicates that there are additional results to retrieve.
- Returns:
- Indicates that there are additional results to retrieve.
-
withNextToken
Indicates that there are additional results to retrieve.
- Parameters:
nextToken
- Indicates that there are additional results to retrieve.- 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
-