public static interface GetUserPolicyResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetUserPolicyResponse.Builder,GetUserPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
GetUserPolicyResponse.Builder |
policyDocument(String policyDocument)
The policy document.
|
GetUserPolicyResponse.Builder |
policyName(String policyName)
The name of the policy.
|
GetUserPolicyResponse.Builder |
userName(String userName)
The user the policy is associated with.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetUserPolicyResponse.Builder userName(String userName)
The user the policy is associated with.
userName - The user the policy is associated with.GetUserPolicyResponse.Builder policyName(String policyName)
The name of the policy.
policyName - The name of the policy.GetUserPolicyResponse.Builder policyDocument(String policyDocument)
The policy document.
IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
policyDocument - The policy document.
IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
Copyright © 2023. All rights reserved.