public class GetIdentityPoliciesResult extends Object implements Serializable, Cloneable
Represents a map of policy names to policies returned from a
successful GetIdentityPolicies
request.
Constructor and Description |
---|
GetIdentityPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
GetIdentityPoliciesResult |
addPoliciesEntry(String key,
String value)
A map of policy names to policies.
|
GetIdentityPoliciesResult |
clearPoliciesEntries()
Removes all the entries added into Policies.
|
GetIdentityPoliciesResult |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getPolicies()
A map of policy names to policies.
|
int |
hashCode() |
void |
setPolicies(Map<String,String> policies)
A map of policy names to policies.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetIdentityPoliciesResult |
withPolicies(Map<String,String> policies)
A map of policy names to policies.
|
public Map<String,String> getPolicies()
public void setPolicies(Map<String,String> policies)
policies
- A map of policy names to policies.public GetIdentityPoliciesResult withPolicies(Map<String,String> policies)
Returns a reference to this object so that method calls can be chained together.
policies
- A map of policy names to policies.public GetIdentityPoliciesResult addPoliciesEntry(String key, String value)
The method adds a new key-value pair into Policies parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into Policies.value
- The corresponding value of the entry to be added into Policies.public GetIdentityPoliciesResult clearPoliciesEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString
in class Object
Object.toString()
public GetIdentityPoliciesResult clone()
Copyright © 2015. All rights reserved.