@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
ListPoliciesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
Specifies the number of
PolicySummary objects that you want AWS Firewall Manager to return for this
request. |
String |
getNextToken()
If you specify a value for
MaxResults and you have more PolicySummary objects than the
number that you specify for MaxResults , AWS Firewall Manager returns a NextToken value
in the response that allows you to list another group of PolicySummary objects. |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Specifies the number of
PolicySummary objects that you want AWS Firewall Manager to return for this
request. |
void |
setNextToken(String nextToken)
If you specify a value for
MaxResults and you have more PolicySummary objects than the
number that you specify for MaxResults , AWS Firewall Manager returns a NextToken value
in the response that allows you to list another group of PolicySummary objects. |
String |
toString()
Returns a string representation of this object.
|
ListPoliciesRequest |
withMaxResults(Integer maxResults)
Specifies the number of
PolicySummary objects that you want AWS Firewall Manager to return for this
request. |
ListPoliciesRequest |
withNextToken(String nextToken)
If you specify a value for
MaxResults and you have more PolicySummary objects than the
number that you specify for MaxResults , AWS Firewall Manager returns a NextToken value
in the response that allows you to list another group of PolicySummary objects. |
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 setNextToken(String nextToken)
If you specify a value for MaxResults
and you have more PolicySummary
objects than the
number that you specify for MaxResults
, AWS Firewall Manager returns a NextToken
value
in the response that allows you to list another group of PolicySummary
objects. For the second and
subsequent ListPolicies
requests, specify the value of NextToken
from the previous
response to get information about another batch of PolicySummary
objects.
nextToken
- If you specify a value for MaxResults
and you have more PolicySummary
objects
than the number that you specify for MaxResults
, AWS Firewall Manager returns a
NextToken
value in the response that allows you to list another group of
PolicySummary
objects. For the second and subsequent ListPolicies
requests,
specify the value of NextToken
from the previous response to get information about another
batch of PolicySummary
objects.public String getNextToken()
If you specify a value for MaxResults
and you have more PolicySummary
objects than the
number that you specify for MaxResults
, AWS Firewall Manager returns a NextToken
value
in the response that allows you to list another group of PolicySummary
objects. For the second and
subsequent ListPolicies
requests, specify the value of NextToken
from the previous
response to get information about another batch of PolicySummary
objects.
MaxResults
and you have more PolicySummary
objects
than the number that you specify for MaxResults
, AWS Firewall Manager returns a
NextToken
value in the response that allows you to list another group of
PolicySummary
objects. For the second and subsequent ListPolicies
requests,
specify the value of NextToken
from the previous response to get information about another
batch of PolicySummary
objects.public ListPoliciesRequest withNextToken(String nextToken)
If you specify a value for MaxResults
and you have more PolicySummary
objects than the
number that you specify for MaxResults
, AWS Firewall Manager returns a NextToken
value
in the response that allows you to list another group of PolicySummary
objects. For the second and
subsequent ListPolicies
requests, specify the value of NextToken
from the previous
response to get information about another batch of PolicySummary
objects.
nextToken
- If you specify a value for MaxResults
and you have more PolicySummary
objects
than the number that you specify for MaxResults
, AWS Firewall Manager returns a
NextToken
value in the response that allows you to list another group of
PolicySummary
objects. For the second and subsequent ListPolicies
requests,
specify the value of NextToken
from the previous response to get information about another
batch of PolicySummary
objects.public void setMaxResults(Integer maxResults)
Specifies the number of PolicySummary
objects that you want AWS Firewall Manager to return for this
request. If you have more PolicySummary
objects than the number that you specify for
MaxResults
, the response includes a NextToken
value that you can use to get another
batch of PolicySummary
objects.
maxResults
- Specifies the number of PolicySummary
objects that you want AWS Firewall Manager to return
for this request. If you have more PolicySummary
objects than the number that you specify for
MaxResults
, the response includes a NextToken
value that you can use to get
another batch of PolicySummary
objects.public Integer getMaxResults()
Specifies the number of PolicySummary
objects that you want AWS Firewall Manager to return for this
request. If you have more PolicySummary
objects than the number that you specify for
MaxResults
, the response includes a NextToken
value that you can use to get another
batch of PolicySummary
objects.
PolicySummary
objects that you want AWS Firewall Manager to return
for this request. If you have more PolicySummary
objects than the number that you specify
for MaxResults
, the response includes a NextToken
value that you can use to get
another batch of PolicySummary
objects.public ListPoliciesRequest withMaxResults(Integer maxResults)
Specifies the number of PolicySummary
objects that you want AWS Firewall Manager to return for this
request. If you have more PolicySummary
objects than the number that you specify for
MaxResults
, the response includes a NextToken
value that you can use to get another
batch of PolicySummary
objects.
maxResults
- Specifies the number of PolicySummary
objects that you want AWS Firewall Manager to return
for this request. If you have more PolicySummary
objects than the number that you specify for
MaxResults
, the response includes a NextToken
value that you can use to get
another batch of PolicySummary
objects.public String toString()
toString
in class Object
Object.toString()
public ListPoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()