@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListPoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If present, this value indicates that there is more output available than is included in the current response.
|
List<PolicySummary> |
getPolicies()
A list of policies that match the filter criteria in the request.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If present, this value indicates that there is more output available than is included in the current response.
|
void |
setPolicies(Collection<PolicySummary> policies)
A list of policies that match the filter criteria in the request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListPoliciesResult |
withNextToken(String nextToken)
If present, this value indicates that there is more output available than is included in the current response.
|
ListPoliciesResult |
withPolicies(Collection<PolicySummary> policies)
A list of policies that match the filter criteria in the request.
|
ListPoliciesResult |
withPolicies(PolicySummary... policies)
A list of policies that match the filter criteria in the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PolicySummary> getPolicies()
A list of policies that match the filter criteria in the request. The output list does not include the policy contents. To see the content for a policy, see DescribePolicy.
public void setPolicies(Collection<PolicySummary> policies)
A list of policies that match the filter criteria in the request. The output list does not include the policy contents. To see the content for a policy, see DescribePolicy.
policies
- A list of policies that match the filter criteria in the request. The output list does not include the
policy contents. To see the content for a policy, see DescribePolicy.public ListPoliciesResult withPolicies(PolicySummary... policies)
A list of policies that match the filter criteria in the request. The output list does not include the policy contents. To see the content for a policy, see DescribePolicy.
NOTE: This method appends the values to the existing list (if any). Use
setPolicies(java.util.Collection)
or withPolicies(java.util.Collection)
if you want to override
the existing values.
policies
- A list of policies that match the filter criteria in the request. The output list does not include the
policy contents. To see the content for a policy, see DescribePolicy.public ListPoliciesResult withPolicies(Collection<PolicySummary> policies)
A list of policies that match the filter criteria in the request. The output list does not include the policy contents. To see the content for a policy, see DescribePolicy.
policies
- A list of policies that match the filter criteria in the request. The output list does not include the
policy contents. To see the content for a policy, see DescribePolicy.public void setNextToken(String nextToken)
If present, this value indicates that there is more output available than is included in the current response.
Use this value in the NextToken
request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken
response element comes back as
null
.
nextToken
- If present, this value indicates that there is more output available than is included in the current
response. Use this value in the NextToken
request parameter in a subsequent call to the
operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
.public String getNextToken()
If present, this value indicates that there is more output available than is included in the current response.
Use this value in the NextToken
request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken
response element comes back as
null
.
NextToken
request parameter in a subsequent call to the
operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
.public ListPoliciesResult withNextToken(String nextToken)
If present, this value indicates that there is more output available than is included in the current response.
Use this value in the NextToken
request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken
response element comes back as
null
.
nextToken
- If present, this value indicates that there is more output available than is included in the current
response. Use this value in the NextToken
request parameter in a subsequent call to the
operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
.public String toString()
toString
in class Object
Object.toString()
public ListPoliciesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.