@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTargetsByRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTargetsByRuleRequest() |
Modifier and Type | Method and Description |
---|---|
ListTargetsByRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEventBusName()
The event bus associated with the rule.
|
Integer |
getLimit()
The maximum number of results to return.
|
String |
getNextToken()
The token returned by a previous call to retrieve the next set of results.
|
String |
getRule()
The name of the rule.
|
int |
hashCode() |
void |
setEventBusName(String eventBusName)
The event bus associated with the rule.
|
void |
setLimit(Integer limit)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
|
void |
setRule(String rule)
The name of the rule.
|
String |
toString()
Returns a string representation of this object.
|
ListTargetsByRuleRequest |
withEventBusName(String eventBusName)
The event bus associated with the rule.
|
ListTargetsByRuleRequest |
withLimit(Integer limit)
The maximum number of results to return.
|
ListTargetsByRuleRequest |
withNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
|
ListTargetsByRuleRequest |
withRule(String rule)
The name of the rule.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRule(String rule)
The name of the rule.
rule
- The name of the rule.public String getRule()
The name of the rule.
public ListTargetsByRuleRequest withRule(String rule)
The name of the rule.
rule
- The name of the rule.public void setEventBusName(String eventBusName)
The event bus associated with the rule. If you omit this, the default event bus is used.
eventBusName
- The event bus associated with the rule. If you omit this, the default event bus is used.public String getEventBusName()
The event bus associated with the rule. If you omit this, the default event bus is used.
public ListTargetsByRuleRequest withEventBusName(String eventBusName)
The event bus associated with the rule. If you omit this, the default event bus is used.
eventBusName
- The event bus associated with the rule. If you omit this, the default event bus is used.public void setNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
nextToken
- The token returned by a previous call to retrieve the next set of results.public String getNextToken()
The token returned by a previous call to retrieve the next set of results.
public ListTargetsByRuleRequest withNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
nextToken
- The token returned by a previous call to retrieve the next set of results.public void setLimit(Integer limit)
The maximum number of results to return.
limit
- The maximum number of results to return.public Integer getLimit()
The maximum number of results to return.
public ListTargetsByRuleRequest withLimit(Integer limit)
The maximum number of results to return.
limit
- The maximum number of results to return.public String toString()
toString
in class Object
Object.toString()
public ListTargetsByRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()