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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetContextKeysForCustomPolicyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... contextKeyNames)
The list of context keys that are referenced in the input policies.GetContextKeysForCustomPolicyResult
withContextKeyNames(Collection<String> contextKeyNames)
The list of context keys that are referenced in the input policies.
-
-
-
Method Detail
-
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)
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 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetContextKeysForCustomPolicyResult clone()
-
-