@Generated(value="software.amazon.awssdk:codegen") public class GetContextKeysForPrincipalPolicyRequest extends IAMRequest implements ToCopyableBuilder<GetContextKeysForPrincipalPolicyRequest.Builder,GetContextKeysForPrincipalPolicyRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetContextKeysForPrincipalPolicyRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetContextKeysForPrincipalPolicyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<String> |
policyInputList()
An optional list of additional policies for which you want the list of context keys that are referenced.
|
String |
policySourceArn()
The ARN of a user, group, or role whose policies contain the context keys that you want listed.
|
static Class<? extends GetContextKeysForPrincipalPolicyRequest.Builder> |
serializableBuilderClass() |
GetContextKeysForPrincipalPolicyRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public 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.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public List<String> policyInputList()
An optional list of additional policies for which you want the list of context keys that are referenced.
The regex pattern used to validate 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 as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
The regex pattern used to validate 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 as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ).
public GetContextKeysForPrincipalPolicyRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetContextKeysForPrincipalPolicyRequest.Builder,GetContextKeysForPrincipalPolicyRequest>
toBuilder
in class IAMRequest
public static GetContextKeysForPrincipalPolicyRequest.Builder builder()
public static Class<? extends GetContextKeysForPrincipalPolicyRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.