Example usage for Java com.amazonaws.services.identitymanagement.model AttachRolePolicyRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
void | setPolicyArn(String policyArn) The Amazon Resource Name (ARN) of the IAM policy you want to attach. |
void | setRoleName(String roleName) The name (friendly name, not ARN) of the role to attach the policy to. |