public class GetContextKeysForCustomPolicyResult extends Object implements Serializable, Cloneable
Contains the response to a successful GetContextKeysForPrincipalPolicy or GetContextKeysForCustomPolicy request.
Constructor and Description |
---|
GetContextKeysForCustomPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetContextKeysForCustomPolicyResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getContextKeyNames()
The list of context keys that are used in the
Condition
elements of the input policies. |
int |
hashCode() |
void |
setContextKeyNames(Collection<String> contextKeyNames)
The list of context keys that are used in the
Condition
elements of the input policies. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetContextKeysForCustomPolicyResult |
withContextKeyNames(Collection<String> contextKeyNames)
The list of context keys that are used in the
Condition
elements of the input policies. |
GetContextKeysForCustomPolicyResult |
withContextKeyNames(String... contextKeyNames)
The list of context keys that are used in the
Condition
elements of the input policies. |
public List<String> getContextKeyNames()
Condition
elements of the input policies.Condition
elements of the input policies.public void setContextKeyNames(Collection<String> contextKeyNames)
Condition
elements of the input policies.contextKeyNames
- The list of context keys that are used in the Condition
elements of the input policies.public GetContextKeysForCustomPolicyResult withContextKeyNames(String... contextKeyNames)
Condition
elements of the input policies.
NOTE: This method appends the values to the existing list (if
any). Use setContextKeyNames(java.util.Collection)
or withContextKeyNames(java.util.Collection)
if you want to override
the existing values.
Returns a reference to this object so that method calls can be chained together.
contextKeyNames
- The list of context keys that are used in the Condition
elements of the input policies.public GetContextKeysForCustomPolicyResult withContextKeyNames(Collection<String> contextKeyNames)
Condition
elements of the input policies.
Returns a reference to this object so that method calls can be chained together.
contextKeyNames
- The list of context keys that are used in the Condition
elements of the input policies.public String toString()
toString
in class Object
Object.toString()
public GetContextKeysForCustomPolicyResult clone()
Copyright © 2015. All rights reserved.