@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRulesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListRulesRequest() |
Modifier and Type | Method and Description |
---|---|
ListRulesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEventBusName()
The name or ARN of the event bus to list the rules for.
|
Integer |
getLimit()
The maximum number of results to return.
|
String |
getNamePrefix()
The prefix matching the rule name.
|
String |
getNextToken()
The token returned by a previous call to retrieve the next set of results.
|
int |
hashCode() |
void |
setEventBusName(String eventBusName)
The name or ARN of the event bus to list the rules for.
|
void |
setLimit(Integer limit)
The maximum number of results to return.
|
void |
setNamePrefix(String namePrefix)
The prefix matching the rule name.
|
void |
setNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListRulesRequest |
withEventBusName(String eventBusName)
The name or ARN of the event bus to list the rules for.
|
ListRulesRequest |
withLimit(Integer limit)
The maximum number of results to return.
|
ListRulesRequest |
withNamePrefix(String namePrefix)
The prefix matching the rule name.
|
ListRulesRequest |
withNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
|
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 setNamePrefix(String namePrefix)
The prefix matching the rule name.
namePrefix
- The prefix matching the rule name.public String getNamePrefix()
The prefix matching the rule name.
public ListRulesRequest withNamePrefix(String namePrefix)
The prefix matching the rule name.
namePrefix
- The prefix matching the rule name.public void setEventBusName(String eventBusName)
The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.
eventBusName
- The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.public String getEventBusName()
The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.
public ListRulesRequest withEventBusName(String eventBusName)
The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.
eventBusName
- The name or ARN of the event bus to list the rules for. 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 ListRulesRequest 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 ListRulesRequest 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 ListRulesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.