public class GetContextKeysForPrincipalPolicyResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a successful GetContextKeysForPrincipalPolicy or GetContextKeysForCustomPolicy request.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
contextKeyNames
The list of context keys that are referenced in the input policies.
|
Constructor and Description |
---|
GetContextKeysForPrincipalPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetContextKeysForPrincipalPolicyResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getContextKeyNames()
The list of context keys that are referenced in the input policies.
|
int |
hashCode() |
void |
setContextKeyNames(java.util.Collection<java.lang.String> contextKeyNames)
The list of context keys that are referenced in the input policies.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetContextKeysForPrincipalPolicyResult |
withContextKeyNames(java.util.Collection<java.lang.String> contextKeyNames)
The list of context keys that are referenced in the input policies.
|
GetContextKeysForPrincipalPolicyResult |
withContextKeyNames(java.lang.String... contextKeyNames)
The list of context keys that are referenced in the input policies.
|
private SdkInternalList<java.lang.String> contextKeyNames
The list of context keys that are referenced in the input policies.
public GetContextKeysForPrincipalPolicyResult()
public java.util.List<java.lang.String> getContextKeyNames()
The list of context keys that are referenced in the input policies.
public void setContextKeyNames(java.util.Collection<java.lang.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 GetContextKeysForPrincipalPolicyResult withContextKeyNames(java.lang.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 GetContextKeysForPrincipalPolicyResult withContextKeyNames(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetContextKeysForPrincipalPolicyResult clone()
clone
in class java.lang.Object