public static interface GetRolePolicyResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetRolePolicyResponse.Builder,GetRolePolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
GetRolePolicyResponse.Builder |
policyDocument(String policyDocument)
The policy document.
|
GetRolePolicyResponse.Builder |
policyName(String policyName)
The name of the policy.
|
GetRolePolicyResponse.Builder |
roleName(String roleName)
The role the policy is associated with.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetRolePolicyResponse.Builder roleName(String roleName)
The role the policy is associated with.
roleName - The role the policy is associated with.GetRolePolicyResponse.Builder policyName(String policyName)
The name of the policy.
policyName - The name of the policy.GetRolePolicyResponse.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 © 2022. All rights reserved.