public class GetContextKeysForCustomPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
GetContextKeysForCustomPolicy operation.
Gets a list of all of the context keys referenced in
Condition elements in the input policies. The policies
are supplied as a list of one or more strings. To get the context keys
from policies associated with an IAM user, group, or role, use
GetContextKeysForPrincipalPolicy.
Context keys are variables maintained by AWS and its services that
provide details about the context of an API query request, and can be
evaluated by using the Condition element of an IAM
policy. Use GetContextKeysForCustomPolicy to understand what key names
and values you must supply when you call SimulateCustomPolicy. Note
that all parameters are shown in unencoded form here for clarity, but
must be URL encoded to be included as a part of a real HTML request.
NOOP| Constructor and Description |
|---|
GetContextKeysForCustomPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetContextKeysForCustomPolicyRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getPolicyInputList()
A list of policies for which you want list of context keys used in
Condition elements. |
int |
hashCode() |
void |
setPolicyInputList(Collection<String> policyInputList)
A list of policies for which you want list of context keys used in
Condition elements. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetContextKeysForCustomPolicyRequest |
withPolicyInputList(Collection<String> policyInputList)
A list of policies for which you want list of context keys used in
Condition elements. |
GetContextKeysForCustomPolicyRequest |
withPolicyInputList(String... policyInputList)
A list of policies for which you want list of context keys used in
Condition elements. |
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic GetContextKeysForCustomPolicyRequest()
public List<String> getPolicyInputList()
Condition elements. Each document is specified as a
string containing the complete, valid JSON text of an IAM policy.Condition elements. Each document is specified as a
string containing the complete, valid JSON text of an IAM policy.public void setPolicyInputList(Collection<String> policyInputList)
Condition elements. Each document is specified as a
string containing the complete, valid JSON text of an IAM policy.policyInputList - A list of policies for which you want list of context keys used in
Condition elements. Each document is specified as a
string containing the complete, valid JSON text of an IAM policy.public GetContextKeysForCustomPolicyRequest withPolicyInputList(String... policyInputList)
Condition elements. Each document is specified as a
string containing the complete, valid JSON text of an IAM policy.
NOTE: This method appends the values to the existing list (if
any). Use setPolicyInputList(java.util.Collection) or withPolicyInputList(java.util.Collection) if you want to override
the existing values.
Returns a reference to this object so that method calls can be chained together.
policyInputList - A list of policies for which you want list of context keys used in
Condition elements. Each document is specified as a
string containing the complete, valid JSON text of an IAM policy.public GetContextKeysForCustomPolicyRequest withPolicyInputList(Collection<String> policyInputList)
Condition elements. Each document is specified as a
string containing the complete, valid JSON text of an IAM policy.
Returns a reference to this object so that method calls can be chained together.
policyInputList - A list of policies for which you want list of context keys used in
Condition elements. Each document is specified as a
string containing the complete, valid JSON text of an IAM policy.public String toString()
toString in class ObjectObject.toString()public GetContextKeysForCustomPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.