@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFiltersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListFiltersRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListFiltersRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action the filter applies to matched findings.
|
List<String> |
getArns()
The Amazon resource number (ARN) of the filter.
|
Integer |
getMaxResults()
The maximum number of results the response can return.
|
String |
getNextToken()
A token to use for paginating results that are returned in the response.
|
int |
hashCode() |
void |
setAction(String action)
The action the filter applies to matched findings.
|
void |
setArns(Collection<String> arns)
The Amazon resource number (ARN) of the filter.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results the response can return.
|
void |
setNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
String |
toString()
Returns a string representation of this object.
|
ListFiltersRequest |
withAction(FilterAction action)
The action the filter applies to matched findings.
|
ListFiltersRequest |
withAction(String action)
The action the filter applies to matched findings.
|
ListFiltersRequest |
withArns(Collection<String> arns)
The Amazon resource number (ARN) of the filter.
|
ListFiltersRequest |
withArns(String... arns)
The Amazon resource number (ARN) of the filter.
|
ListFiltersRequest |
withMaxResults(Integer maxResults)
The maximum number of results the response can return.
|
ListFiltersRequest |
withNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
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 setAction(String action)
The action the filter applies to matched findings.
action - The action the filter applies to matched findings.FilterActionpublic String getAction()
The action the filter applies to matched findings.
FilterActionpublic ListFiltersRequest withAction(String action)
The action the filter applies to matched findings.
action - The action the filter applies to matched findings.FilterActionpublic ListFiltersRequest withAction(FilterAction action)
The action the filter applies to matched findings.
action - The action the filter applies to matched findings.FilterActionpublic List<String> getArns()
The Amazon resource number (ARN) of the filter.
public void setArns(Collection<String> arns)
The Amazon resource number (ARN) of the filter.
arns - The Amazon resource number (ARN) of the filter.public ListFiltersRequest withArns(String... arns)
The Amazon resource number (ARN) of the filter.
NOTE: This method appends the values to the existing list (if any). Use
setArns(java.util.Collection) or withArns(java.util.Collection) if you want to override the
existing values.
arns - The Amazon resource number (ARN) of the filter.public ListFiltersRequest withArns(Collection<String> arns)
The Amazon resource number (ARN) of the filter.
arns - The Amazon resource number (ARN) of the filter.public void setMaxResults(Integer maxResults)
The maximum number of results the response can return. If your request would return more than the maximum the
response will return a nextToken value, use this value when you call the action again to get the
remaining results.
maxResults - The maximum number of results the response can return. If your request would return more than the maximum
the response will return a nextToken value, use this value when you call the action again to
get the remaining results.public Integer getMaxResults()
The maximum number of results the response can return. If your request would return more than the maximum the
response will return a nextToken value, use this value when you call the action again to get the
remaining results.
nextToken value, use this value when you call the action again to
get the remaining results.public ListFiltersRequest withMaxResults(Integer maxResults)
The maximum number of results the response can return. If your request would return more than the maximum the
response will return a nextToken value, use this value when you call the action again to get the
remaining results.
maxResults - The maximum number of results the response can return. If your request would return more than the maximum
the response will return a nextToken value, use this value when you call the action again to
get the remaining results.public void setNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. If your response returns more than the maxResults maximum
value it will also return a nextToken value. For subsequent calls, use the nextToken
value returned from the previous request to continue listing results after the first page.
nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. If your response returns more than the
maxResults maximum value it will also return a nextToken value. For subsequent
calls, use the nextToken value returned from the previous request to continue listing results
after the first page.public String getNextToken()
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. If your response returns more than the maxResults maximum
value it will also return a nextToken value. For subsequent calls, use the nextToken
value returned from the previous request to continue listing results after the first page.
maxResults maximum value it will also return a nextToken value. For subsequent
calls, use the nextToken value returned from the previous request to continue listing
results after the first page.public ListFiltersRequest withNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. If your response returns more than the maxResults maximum
value it will also return a nextToken value. For subsequent calls, use the nextToken
value returned from the previous request to continue listing results after the first page.
nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. If your response returns more than the
maxResults maximum value it will also return a nextToken value. For subsequent
calls, use the nextToken value returned from the previous request to continue listing results
after the first page.public String toString()
toString in class ObjectObject.toString()public ListFiltersRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.