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()booleanIndicates that there are additional results to retrieve.Lists the targets assigned to the rule.inthashCode()voidsetNextToken(String nextToken) Indicates that there are additional results to retrieve.voidsetTargets(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
-
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
-
equals
-
hashCode
-
clone
-