public ReportDestinationS3 withBucketAccessRoleArn(String bucketAccessRoleArn) {
        setBucketAccessRoleArn(bucketAccessRoleArn);
        return this;
    }
<p>
Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your
S3 bucket. For more information, see <a
href="https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html">Allowing DataSync to upload a task
report to an Amazon S3 bucket</a>.
</p>

@param bucketAccessRoleArn
       Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to
       your S3 bucket. For more information, see <a
       href="https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html">Allowing DataSync to upload
       a task report to an Amazon S3 bucket</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/ReportDestinationS3.java