Class GetContextKeysForCustomPolicyResult

java.lang.Object
com.amazonaws.services.identitymanagement.model.GetContextKeysForCustomPolicyResult
All Implemented Interfaces:
Serializable, Cloneable

public class GetContextKeysForCustomPolicyResult extends Object implements Serializable, Cloneable

Contains the response to a successful GetContextKeysForPrincipalPolicy or GetContextKeysForCustomPolicy request.

See Also:
  • Constructor Details

    • GetContextKeysForCustomPolicyResult

      public GetContextKeysForCustomPolicyResult()
  • Method Details

    • getContextKeyNames

      public List<String> getContextKeyNames()

      The list of context keys that are referenced in the input policies.

      Returns:
      The list of context keys that are referenced in the input policies.
    • setContextKeyNames

      public void setContextKeyNames(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.
    • withContextKeyNames

      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.

      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 GetContextKeysForCustomPolicyResult 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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object