public RetentionPolicy withHomeEfsFileSystem(String homeEfsFileSystem) {
        setHomeEfsFileSystem(homeEfsFileSystem);
        return this;
    }
<p>
The default is <code>Retain</code>, which specifies to keep the data stored on the Amazon EFS volume.
</p>
<p>
Specify <code>Delete</code> to delete the data stored on the Amazon EFS volume.
</p>

@param homeEfsFileSystem
       The default is <code>Retain</code>, which specifies to keep the data stored on the Amazon EFS volume.</p>
       <p>
       Specify <code>Delete</code> to delete the data stored on the Amazon EFS volume.
@return Returns a reference to this object so that method calls can be chained together.
@see RetentionType
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/RetentionPolicy.java