public void setRole(String role) {
        this.role = role;
    }
<p>
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. The required permissions
include both Glue service role permissions to Glue resources, and Amazon S3 permissions required by the
transform.
</p>
<ul>
<li>
<p>
This role needs Glue service role permissions to allow access to resources in Glue. See <a
href="https://docs.aws.amazon.com/glue/latest/dg/attach-policy-iam-user.html">Attach a Policy to IAM Users That
Access Glue</a>.
</p>
</li>
<li>
<p>
This role needs permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, temporary
directory, scripts, and any libraries used by the task run for this transform.
</p>
</li>
</ul>

@param role
       The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. The required
       permissions include both Glue service role permissions to Glue resources, and Amazon S3 permissions
       required by the transform. </p>
       <ul>
       <li>
       <p>
       This role needs Glue service role permissions to allow access to resources in Glue. See <a
       href="https://docs.aws.amazon.com/glue/latest/dg/attach-policy-iam-user.html">Attach a Policy to IAM Users
       That Access Glue</a>.
       </p>
       </li>
       <li>
       <p>
       This role needs permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, temporary
       directory, scripts, and any libraries used by the task run for this transform.
       </p>
       </li>
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/CreateMLTransformRequest.java