@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetContextKeysForPrincipalPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a successful GetContextKeysForPrincipalPolicy or GetContextKeysForCustomPolicy request.
| Constructor and Description |
|---|
GetContextKeysForPrincipalPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
GetContextKeysForPrincipalPolicyResult |
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.
|
GetContextKeysForPrincipalPolicyResult |
withContextKeyNames(Collection<String> contextKeyNames)
The list of context keys that are referenced in the input policies.
|
GetContextKeysForPrincipalPolicyResult |
withContextKeyNames(String... contextKeyNames)
The list of context keys that are referenced in the input policies.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic GetContextKeysForPrincipalPolicyResult()
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 GetContextKeysForPrincipalPolicyResult 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 GetContextKeysForPrincipalPolicyResult 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 ObjectObject.toString()public GetContextKeysForPrincipalPolicyResult clone()