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 referenced in the input policies.
|
int |
hashCode() |
void |
setContextKeyNames(Collection<String> contextKeyNames)
The list of context keys that are referenced in 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 referenced in the input policies.
|
GetContextKeysForCustomPolicyResult |
withContextKeyNames(String... contextKeyNames)
The list of context keys that are referenced in the input policies.
|
public List<String> getContextKeyNames()
The list of context keys that are referenced in the input policies.
public void setContextKeyNames(Collection<String> contextKeyNames)
The list of context keys that are referenced in the input policies.
contextKeyNames
- The list of context keys that are referenced in the input
policies.public GetContextKeysForCustomPolicyResult withContextKeyNames(String... contextKeyNames)
The list of context keys that are referenced in 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.
contextKeyNames
- The list of context keys that are referenced in the input
policies.public GetContextKeysForCustomPolicyResult withContextKeyNames(Collection<String> contextKeyNames)
The list of context keys that are referenced in the input policies.
contextKeyNames
- The list of context keys that are referenced in the input
policies.public String toString()
toString
in class Object
Object.toString()
public GetContextKeysForCustomPolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.