public S3Destination withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
The IAM role used to write to the specified S3 bucket

@param roleArn
       The IAM role used to write to the specified S3 bucket
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediapackage/src/main/java/com/amazonaws/services/mediapackage/model/S3Destination.java