Class GetContextKeysForPrincipalPolicyResult
java.lang.Object
com.amazonaws.services.identitymanagement.model.GetContextKeysForPrincipalPolicyResult
- All Implemented Interfaces:
Serializable, Cloneable
public class GetContextKeysForPrincipalPolicyResult
extends Object
implements Serializable, Cloneable
Contains the response to a successful GetContextKeysForPrincipalPolicy or GetContextKeysForCustomPolicy request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe list of context keys that are referenced in the input policies.inthashCode()voidsetContextKeyNames(Collection<String> contextKeyNames) The list of context keys that are referenced in the input policies.toString()Returns a string representation of this object; useful for testing and debugging.withContextKeyNames(String... contextKeyNames) The list of context keys that are referenced in the input policies.withContextKeyNames(Collection<String> contextKeyNames) The list of context keys that are referenced in the input policies.
-
Constructor Details
-
GetContextKeysForPrincipalPolicyResult
public GetContextKeysForPrincipalPolicyResult()
-
-
Method Details
-
getContextKeyNames
-
setContextKeyNames
The list of context keys that are referenced in the input policies.
- Parameters:
contextKeyNames- The list of context keys that are referenced in the input policies.
-
withContextKeyNames
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)orwithContextKeyNames(java.util.Collection)if you want to override the existing values.- Parameters:
contextKeyNames- The list of context keys that are referenced in the input policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withContextKeyNames
public GetContextKeysForPrincipalPolicyResult withContextKeyNames(Collection<String> contextKeyNames) The list of context keys that are referenced in the input policies.
- Parameters:
contextKeyNames- The list of context keys that are referenced in the input policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-