Class ListTargetsByRuleRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudwatchevents.model.ListTargetsByRuleRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListTargetsByRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the ListTargetsByRule operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListTargetsByRuleRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTargetsByRuleRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetLimit()The maximum number of results to return.StringgetNextToken()The token returned by a previous call to indicate that there is more data available.StringgetRule()The name of the rule whose targets you want to list.inthashCode()voidsetLimit(Integer limit)The maximum number of results to return.voidsetNextToken(String nextToken)The token returned by a previous call to indicate that there is more data available.voidsetRule(String rule)The name of the rule whose targets you want to list.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListTargetsByRuleRequestwithLimit(Integer limit)The maximum number of results to return.ListTargetsByRuleRequestwithNextToken(String nextToken)The token returned by a previous call to indicate that there is more data available.ListTargetsByRuleRequestwithRule(String rule)The name of the rule whose targets you want to list.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setRule
public void setRule(String rule)
The name of the rule whose targets you want to list.
- Parameters:
rule- The name of the rule whose targets you want to list.
-
getRule
public String getRule()
The name of the rule whose targets you want to list.
- Returns:
- The name of the rule whose targets you want to list.
-
withRule
public ListTargetsByRuleRequest withRule(String rule)
The name of the rule whose targets you want to list.
- Parameters:
rule- The name of the rule whose targets you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
- Parameters:
nextToken- The token returned by a previous call to indicate that there is more data available.
-
getNextToken
public String getNextToken()
The token returned by a previous call to indicate that there is more data available.
- Returns:
- The token returned by a previous call to indicate that there is more data available.
-
withNextToken
public ListTargetsByRuleRequest withNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
- Parameters:
nextToken- The token returned by a previous call to indicate that there is more data available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
The maximum number of results to return.
- Parameters:
limit- The maximum number of results to return.
-
getLimit
public Integer getLimit()
The maximum number of results to return.
- Returns:
- The maximum number of results to return.
-
withLimit
public ListTargetsByRuleRequest withLimit(Integer limit)
The maximum number of results to return.
- Parameters:
limit- The maximum number of results to return.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTargetsByRuleRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-