public S3ExportConfiguration withRoleName(String roleName) {
        setRoleName(roleName);
        return this;
    }
<p>
The name of the role that grants VM Import/Export permission to export images to your S3 bucket.
</p>

@param roleName
       The name of the role that grants VM Import/Export permission to export images to your S3 bucket.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/S3ExportConfiguration.java