Class GetContextKeysForPrincipalPolicyRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.identitymanagement.model.GetContextKeysForPrincipalPolicyRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class GetContextKeysForPrincipalPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetContextKeysForPrincipalPolicyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetContextKeysForPrincipalPolicyRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<String>
getPolicyInputList()
An optional list of additional policies for which you want the list of context keys that are referenced.String
getPolicySourceArn()
The ARN of a user, group, or role whose policies contain the context keys that you want listed.int
hashCode()
void
setPolicyInputList(Collection<String> policyInputList)
An optional list of additional policies for which you want the list of context keys that are referenced.void
setPolicySourceArn(String policySourceArn)
The ARN of a user, group, or role whose policies contain the context keys that you want listed.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetContextKeysForPrincipalPolicyRequest
withPolicyInputList(String... policyInputList)
An optional list of additional policies for which you want the list of context keys that are referenced.GetContextKeysForPrincipalPolicyRequest
withPolicyInputList(Collection<String> policyInputList)
An optional list of additional policies for which you want the list of context keys that are referenced.GetContextKeysForPrincipalPolicyRequest
withPolicySourceArn(String policySourceArn)
The ARN of a user, group, or role whose policies contain the context keys that you want listed.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setPolicySourceArn
public void setPolicySourceArn(String policySourceArn)
The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies attached to the user as well as to all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. 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.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
- Parameters:
policySourceArn
- The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies attached to the user as well as to all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. 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.For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
-
getPolicySourceArn
public String getPolicySourceArn()
The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies attached to the user as well as to all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. 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.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
- Returns:
- The ARN of a user, group, or role whose policies contain the
context keys that you want listed. If you specify a user, the
list includes context keys that are found in all policies
attached to the user as well as to all groups that the user is a
member of. If you pick a group or a role, then it includes only
those context keys that are found in policies attached to that
entity. 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.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
-
withPolicySourceArn
public GetContextKeysForPrincipalPolicyRequest withPolicySourceArn(String policySourceArn)
The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies attached to the user as well as to all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. 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.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
- Parameters:
policySourceArn
- The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies attached to the user as well as to all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. 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.For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPolicyInputList
public List<String> getPolicyInputList()
An optional list of additional policies for which you want the list of context keys that are referenced.
The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ).
- Returns:
- An optional list of additional policies for which you want the
list of context keys that are referenced.
The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ).
-
setPolicyInputList
public void setPolicyInputList(Collection<String> policyInputList)
An optional list of additional policies for which you want the list of context keys that are referenced.
The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ).
- Parameters:
policyInputList
- An optional list of additional policies for which you want the list of context keys that are referenced.The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ).
-
withPolicyInputList
public GetContextKeysForPrincipalPolicyRequest withPolicyInputList(String... policyInputList)
An optional list of additional policies for which you want the list of context keys that are referenced.
The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ).
NOTE: This method appends the values to the existing list (if any). Use
setPolicyInputList(java.util.Collection)
orwithPolicyInputList(java.util.Collection)
if you want to override the existing values.- Parameters:
policyInputList
- An optional list of additional policies for which you want the list of context keys that are referenced.The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPolicyInputList
public GetContextKeysForPrincipalPolicyRequest withPolicyInputList(Collection<String> policyInputList)
An optional list of additional policies for which you want the list of context keys that are referenced.
The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ).
- Parameters:
policyInputList
- An optional list of additional policies for which you want the list of context keys that are referenced.The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ).
- 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 GetContextKeysForPrincipalPolicyRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-