public AwsEfsAccessPointDetails withRootDirectory(AwsEfsAccessPointRootDirectoryDetails rootDirectory) {
        setRootDirectory(rootDirectory);
        return this;
    }
<p>
The directory on the Amazon EFS file system that the access point exposes as the root directory to NFS clients
using the access point.
</p>

@param rootDirectory
       The directory on the Amazon EFS file system that the access point exposes as the root directory to NFS
       clients using the access point.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEfsAccessPointDetails.java