Java com.amazonaws.services.identitymanagement.model AttachRolePolicyRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.identitymanagement.model AttachRolePolicyRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.identitymanagement.model AttachRolePolicyRequest.

The text is from its open source code.

Constructor

Method

voidsetPolicyArn(String policyArn)

The Amazon Resource Name (ARN) of the IAM policy you want to attach.

voidsetRoleName(String roleName)

The name (friendly name, not ARN) of the role to attach the policy to.