@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 more output is available than is included in the current response.
|
List<PolicyItem> |
getPolicies()
Lists all policies that are available in the specified policy store.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
void |
setPolicies(Collection<PolicyItem> policies)
Lists all policies that are available in the specified policy store.
|
String |
toString()
Returns a string representation of this object.
|
ListPoliciesResult |
withNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
ListPoliciesResult |
withPolicies(Collection<PolicyItem> policies)
Lists all policies that are available in the specified policy store.
|
ListPoliciesResult |
withPolicies(PolicyItem... policies)
Lists all policies that are available in the specified policy store.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
If present, this value indicates that more output is 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. This indicates that this is the last page of results.
nextToken - If present, this value indicates that more output is 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. This indicates that this is the last page of results.public String getNextToken()
If present, this value indicates that more output is 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. This indicates that this is the last page of results.
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. This indicates that this is the last page of results.public ListPoliciesResult withNextToken(String nextToken)
If present, this value indicates that more output is 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. This indicates that this is the last page of results.
nextToken - If present, this value indicates that more output is 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. This indicates that this is the last page of results.public List<PolicyItem> getPolicies()
Lists all policies that are available in the specified policy store.
public void setPolicies(Collection<PolicyItem> policies)
Lists all policies that are available in the specified policy store.
policies - Lists all policies that are available in the specified policy store.public ListPoliciesResult withPolicies(PolicyItem... policies)
Lists all policies that are available in the specified policy store.
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 - Lists all policies that are available in the specified policy store.public ListPoliciesResult withPolicies(Collection<PolicyItem> policies)
Lists all policies that are available in the specified policy store.
policies - Lists all policies that are available in the specified policy store.public String toString()
toString in class ObjectObject.toString()public ListPoliciesResult clone()