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:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
getLimit()
The maximum number of results to return.The token returned by a previous call to indicate that there is more data available.getRule()
The name of the rule whose targets you want to list.int
hashCode()
void
The maximum number of results to return.void
setNextToken
(String nextToken) The token returned by a previous call to indicate that there is more data available.void
The name of the rule whose targets you want to list.toString()
Returns a string representation of this object; useful for testing and debugging.The maximum number of results to return.withNextToken
(String nextToken) The token returned by a previous call to indicate that there is more data available.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
-
Constructor Details
-
ListTargetsByRuleRequest
public ListTargetsByRuleRequest()
-
-
Method Details
-
setRule
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
The name of the rule whose targets you want to list.
- Returns:
- The name of the rule whose targets you want to list.
-
withRule
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
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
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
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
The maximum number of results to return.
- Parameters:
limit
- The maximum number of results to return.
-
getLimit
The maximum number of results to return.
- Returns:
- The maximum number of results to return.
-
withLimit
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-