@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListIdentityPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A list of names of sending authorization policies that apply to an identity.
| 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.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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()