Class ListRuleNamesByTargetRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudwatchevents.model.ListRuleNamesByTargetRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListRuleNamesByTargetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the ListRuleNamesByTarget operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListRuleNamesByTargetRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListRuleNamesByTargetRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Integer
getLimit()
The maximum number of results to return.String
getNextToken()
The token returned by a previous call to indicate that there is more data available.String
getTargetArn()
The Amazon Resource Name (ARN) of the target resource that you want to list the rules for.int
hashCode()
void
setLimit(Integer limit)
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
setTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target resource that you want to list the rules for.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListRuleNamesByTargetRequest
withLimit(Integer limit)
The maximum number of results to return.ListRuleNamesByTargetRequest
withNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.ListRuleNamesByTargetRequest
withTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target resource that you want to list the rules for.-
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
-
setTargetArn
public void setTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target resource that you want to list the rules for.
- Parameters:
targetArn
- The Amazon Resource Name (ARN) of the target resource that you want to list the rules for.
-
getTargetArn
public String getTargetArn()
The Amazon Resource Name (ARN) of the target resource that you want to list the rules for.
- Returns:
- The Amazon Resource Name (ARN) of the target resource that you want to list the rules for.
-
withTargetArn
public ListRuleNamesByTargetRequest withTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target resource that you want to list the rules for.
- Parameters:
targetArn
- The Amazon Resource Name (ARN) of the target resource that you want to list the rules for.- 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 ListRuleNamesByTargetRequest 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 ListRuleNamesByTargetRequest 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListRuleNamesByTargetRequest 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:
Object.clone()
-
-