Class ListRuleNamesByTargetResult
- java.lang.Object
-
- com.amazonaws.services.cloudwatchevents.model.ListRuleNamesByTargetResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListRuleNamesByTargetResult extends Object implements Serializable, Cloneable
The result of the ListRuleNamesByTarget operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListRuleNamesByTargetResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListRuleNamesByTargetResult
clone()
boolean
equals(Object obj)
String
getNextToken()
Indicates that there are additional results to retrieve.List<String>
getRuleNames()
List of rules names that can invoke the given target.int
hashCode()
void
setNextToken(String nextToken)
Indicates that there are additional results to retrieve.void
setRuleNames(Collection<String> ruleNames)
List of rules names that can invoke the given target.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListRuleNamesByTargetResult
withNextToken(String nextToken)
Indicates that there are additional results to retrieve.ListRuleNamesByTargetResult
withRuleNames(String... ruleNames)
List of rules names that can invoke the given target.ListRuleNamesByTargetResult
withRuleNames(Collection<String> ruleNames)
List of rules names that can invoke the given target.
-
-
-
Method Detail
-
getRuleNames
public List<String> getRuleNames()
List of rules names that can invoke the given target.
- Returns:
- List of rules names that can invoke the given target.
-
setRuleNames
public void setRuleNames(Collection<String> ruleNames)
List of rules names that can invoke the given target.
- Parameters:
ruleNames
- List of rules names that can invoke the given target.
-
withRuleNames
public ListRuleNamesByTargetResult withRuleNames(String... ruleNames)
List of rules names that can invoke the given target.
NOTE: This method appends the values to the existing list (if any). Use
setRuleNames(java.util.Collection)
orwithRuleNames(java.util.Collection)
if you want to override the existing values.- Parameters:
ruleNames
- List of rules names that can invoke the given target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRuleNames
public ListRuleNamesByTargetResult withRuleNames(Collection<String> ruleNames)
List of rules names that can invoke the given target.
- Parameters:
ruleNames
- List of rules names that can invoke the given target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
Indicates that there are additional results to retrieve.
- Parameters:
nextToken
- Indicates that there are additional results to retrieve.
-
getNextToken
public String getNextToken()
Indicates that there are additional results to retrieve.
- Returns:
- Indicates that there are additional results to retrieve.
-
withNextToken
public ListRuleNamesByTargetResult withNextToken(String nextToken)
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
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 ListRuleNamesByTargetResult clone()
-
-