public UpdateAccessRequest withRole(String role) {
        setRole(role);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that controls your users' access
to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of
access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or
Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access
your resources when servicing your users' transfer requests.
</p>

@param role
       The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that controls your users'
       access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine
       the level of access that you want to provide your users when transferring files into and out of your
       Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that
       allows the server to access your resources when servicing your users' transfer requests.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/UpdateAccessRequest.java