public CustomerManagedDatastoreS3StorageSummary withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<p>
The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.
</p>

@param roleArn
       The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/CustomerManagedDatastoreS3StorageSummary.java