@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTargetsForPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTargetsForPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
ListTargetsForPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
(Optional) Use this to limit the number of results you want included in the response.
|
String |
getNextToken()
Use this parameter if you receive a
NextToken response in a previous request that indicates that
there is more output available. |
String |
getPolicyId()
The unique identifier (ID) of the policy for which you want to know its attachments.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
(Optional) Use this to limit the number of results you want included in the response.
|
void |
setNextToken(String nextToken)
Use this parameter if you receive a
NextToken response in a previous request that indicates that
there is more output available. |
void |
setPolicyId(String policyId)
The unique identifier (ID) of the policy for which you want to know its attachments.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListTargetsForPolicyRequest |
withMaxResults(Integer maxResults)
(Optional) Use this to limit the number of results you want included in the response.
|
ListTargetsForPolicyRequest |
withNextToken(String nextToken)
Use this parameter if you receive a
NextToken response in a previous request that indicates that
there is more output available. |
ListTargetsForPolicyRequest |
withPolicyId(String policyId)
The unique identifier (ID) of the policy for which you want to know its attachments.
|
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 setPolicyId(String policyId)
The unique identifier (ID) of the policy for which you want to know its attachments.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.
policyId
- The unique identifier (ID) of the policy for which you want to know its attachments.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.
public String getPolicyId()
The unique identifier (ID) of the policy for which you want to know its attachments.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.
public ListTargetsForPolicyRequest withPolicyId(String policyId)
The unique identifier (ID) of the policy for which you want to know its attachments.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.
policyId
- The unique identifier (ID) of the policy for which you want to know its attachments.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.
public void setNextToken(String nextToken)
Use this parameter if you receive a NextToken
response in a previous request that indicates that
there is more output available. Set it to the value of the previous call's NextToken
response to
indicate where the output should continue from.
nextToken
- Use this parameter if you receive a NextToken
response in a previous request that indicates
that there is more output available. Set it to the value of the previous call's NextToken
response to indicate where the output should continue from.public String getNextToken()
Use this parameter if you receive a NextToken
response in a previous request that indicates that
there is more output available. Set it to the value of the previous call's NextToken
response to
indicate where the output should continue from.
NextToken
response in a previous request that indicates
that there is more output available. Set it to the value of the previous call's NextToken
response to indicate where the output should continue from.public ListTargetsForPolicyRequest withNextToken(String nextToken)
Use this parameter if you receive a NextToken
response in a previous request that indicates that
there is more output available. Set it to the value of the previous call's NextToken
response to
indicate where the output should continue from.
nextToken
- Use this parameter if you receive a NextToken
response in a previous request that indicates
that there is more output available. Set it to the value of the previous call's NextToken
response to indicate where the output should continue from.public void setMaxResults(Integer maxResults)
(Optional) Use this to limit the number of results you want included in the response. If you do not include this
parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum
you specify, the NextToken
response element is present and has a value (is not null). Include that
value as the NextToken
request parameter in the next call to the operation to get the next part of
the results. Note that Organizations might return fewer results than the maximum even when there are more results
available. You should check NextToken
after every operation to ensure that you receive all of the
results.
maxResults
- (Optional) Use this to limit the number of results you want included in the response. If you do not
include this parameter, it defaults to a value that is specific to the operation. If additional items
exist beyond the maximum you specify, the NextToken
response element is present and has a
value (is not null). Include that value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that Organizations might return fewer results
than the maximum even when there are more results available. You should check NextToken
after
every operation to ensure that you receive all of the results.public Integer getMaxResults()
(Optional) Use this to limit the number of results you want included in the response. If you do not include this
parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum
you specify, the NextToken
response element is present and has a value (is not null). Include that
value as the NextToken
request parameter in the next call to the operation to get the next part of
the results. Note that Organizations might return fewer results than the maximum even when there are more results
available. You should check NextToken
after every operation to ensure that you receive all of the
results.
NextToken
response element is present and has a
value (is not null). Include that value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that Organizations might return fewer results
than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.public ListTargetsForPolicyRequest withMaxResults(Integer maxResults)
(Optional) Use this to limit the number of results you want included in the response. If you do not include this
parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum
you specify, the NextToken
response element is present and has a value (is not null). Include that
value as the NextToken
request parameter in the next call to the operation to get the next part of
the results. Note that Organizations might return fewer results than the maximum even when there are more results
available. You should check NextToken
after every operation to ensure that you receive all of the
results.
maxResults
- (Optional) Use this to limit the number of results you want included in the response. If you do not
include this parameter, it defaults to a value that is specific to the operation. If additional items
exist beyond the maximum you specify, the NextToken
response element is present and has a
value (is not null). Include that value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that Organizations might return fewer results
than the maximum even when there are more results available. You should check NextToken
after
every operation to ensure that you receive all of the results.public String toString()
toString
in class Object
Object.toString()
public ListTargetsForPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.