public class ListIdentityPoliciesResult extends Object implements Serializable, Cloneable
Represents a list of policy names returned from a successful
ListIdentityPolicies request.
| Constructor and Description |
|---|
ListIdentityPoliciesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListIdentityPoliciesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getPolicyNames()
A list of names of policies that apply to the specified identity.
|
int |
hashCode() |
void |
setPolicyNames(Collection<String> policyNames)
A list of names of policies that apply to the specified identity.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListIdentityPoliciesResult |
withPolicyNames(Collection<String> policyNames)
A list of names of policies that apply to the specified identity.
|
ListIdentityPoliciesResult |
withPolicyNames(String... policyNames)
A list of names of policies that apply to the specified identity.
|
public List<String> getPolicyNames()
A list of names of policies that apply to the specified identity.
public void setPolicyNames(Collection<String> policyNames)
A list of names of policies that apply to the specified identity.
policyNames - A list of names of policies that apply to the specified identity.public ListIdentityPoliciesResult withPolicyNames(String... policyNames)
A list of names of policies that apply to the specified identity.
NOTE: This method appends the values to the existing list (if
any). Use setPolicyNames(java.util.Collection) or
withPolicyNames(java.util.Collection) if you want to override
the existing values.
policyNames - A list of names of policies that apply to the specified identity.public ListIdentityPoliciesResult withPolicyNames(Collection<String> policyNames)
A list of names of policies that apply to the specified identity.
policyNames - A list of names of policies that apply to the specified identity.public String toString()
toString in class ObjectObject.toString()public ListIdentityPoliciesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.