public S3RecordingConfig withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<p>
ARN of the role Ground Station assumes to write data to the bucket.
</p>

@param roleArn
       ARN of the role Ground Station assumes to write data to the bucket.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-groundstation/src/main/java/com/amazonaws/services/groundstation/model/S3RecordingConfig.java