@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() |
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return for the request in a single page.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<ResourceTag> |
getResourceTags()
The tags used to identify resources that are to be retained by the retention rule.
|
String |
getResourceType()
The resource type retained by the retention rule.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setResourceTags(Collection<ResourceTag> resourceTags)
The tags used to identify resources that are to be retained by the retention rule.
|
void |
setResourceType(String resourceType)
The resource type retained by the retention rule.
|
String |
toString()
Returns a string representation of this object.
|
ListRulesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
ListRulesRequest |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListRulesRequest |
withResourceTags(Collection<ResourceTag> resourceTags)
The tags used to identify resources that are to be retained by the retention rule.
|
ListRulesRequest |
withResourceTags(ResourceTag... resourceTags)
The tags used to identify resources that are to be retained by the retention rule.
|
ListRulesRequest |
withResourceType(ResourceType resourceType)
The resource type retained by the retention rule.
|
ListRulesRequest |
withResourceType(String resourceType)
The resource type retained by the retention rule.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page. The remaining results can be seen by
sending another request with the returned nextToken value. This value can be between 5 and 500. If
maxResults is given a larger value than 500, you receive an error.
maxResults - The maximum number of results to return for the request in a single page. The remaining results can be
seen by sending another request with the returned nextToken value. This value can be between
5 and 500. If maxResults is given a larger value than 500, you receive an error.public Integer getMaxResults()
The maximum number of results to return for the request in a single page. The remaining results can be seen by
sending another request with the returned nextToken value. This value can be between 5 and 500. If
maxResults is given a larger value than 500, you receive an error.
nextToken value. This value can be between
5 and 500. If maxResults is given a larger value than 500, you receive an error.public ListRulesRequest withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page. The remaining results can be seen by
sending another request with the returned nextToken value. This value can be between 5 and 500. If
maxResults is given a larger value than 500, you receive an error.
maxResults - The maximum number of results to return for the request in a single page. The remaining results can be
seen by sending another request with the returned nextToken value. This value can be between
5 and 500. If maxResults is given a larger value than 500, you receive an error.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken - The token to use to retrieve the next page of results.public String getNextToken()
The token to use to retrieve the next page of results.
public ListRulesRequest withNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken - The token to use to retrieve the next page of results.public void setResourceType(String resourceType)
The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed.
resourceType - The resource type retained by the retention rule. Only retention rules that retain the specified resource
type are listed.ResourceTypepublic String getResourceType()
The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed.
ResourceTypepublic ListRulesRequest withResourceType(String resourceType)
The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed.
resourceType - The resource type retained by the retention rule. Only retention rules that retain the specified resource
type are listed.ResourceTypepublic ListRulesRequest withResourceType(ResourceType resourceType)
The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed.
resourceType - The resource type retained by the retention rule. Only retention rules that retain the specified resource
type are listed.ResourceTypepublic List<ResourceTag> getResourceTags()
The tags used to identify resources that are to be retained by the retention rule.
public void setResourceTags(Collection<ResourceTag> resourceTags)
The tags used to identify resources that are to be retained by the retention rule.
resourceTags - The tags used to identify resources that are to be retained by the retention rule.public ListRulesRequest withResourceTags(ResourceTag... resourceTags)
The tags used to identify resources that are to be retained by the retention rule.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTags(java.util.Collection) or withResourceTags(java.util.Collection) if you want to
override the existing values.
resourceTags - The tags used to identify resources that are to be retained by the retention rule.public ListRulesRequest withResourceTags(Collection<ResourceTag> resourceTags)
The tags used to identify resources that are to be retained by the retention rule.
resourceTags - The tags used to identify resources that are to be retained by the retention rule.public String toString()
toString in class ObjectObject.toString()public ListRulesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.