public class GetIdentityPoliciesResult
extends java.lang.Object
implements java.io.Serializable
Represents the requested sending authorization policies.
Constructor and Description |
---|
GetIdentityPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
GetIdentityPoliciesResult |
addPoliciesEntry(java.lang.String key,
java.lang.String value)
A map of policy names to policies.
|
GetIdentityPoliciesResult |
clearPoliciesEntries()
Removes all the entries added into Policies.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getPolicies()
A map of policy names to policies.
|
int |
hashCode() |
void |
setPolicies(java.util.Map<java.lang.String,java.lang.String> policies)
A map of policy names to policies.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetIdentityPoliciesResult |
withPolicies(java.util.Map<java.lang.String,java.lang.String> policies)
A map of policy names to policies.
|
public java.util.Map<java.lang.String,java.lang.String> getPolicies()
A map of policy names to policies.
A map of policy names to policies.
public void setPolicies(java.util.Map<java.lang.String,java.lang.String> policies)
A map of policy names to policies.
policies
- A map of policy names to policies.
public GetIdentityPoliciesResult withPolicies(java.util.Map<java.lang.String,java.lang.String> policies)
A map of policy names to 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(java.lang.String key, java.lang.String value)
A map of policy names to policies.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.