public AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails withRootDirectory(String rootDirectory) {
        setRootDirectory(rootDirectory);
        return this;
    }
<p>
The directory within the Amazon EFS file system to mount as the root directory inside the host.
</p>

@param rootDirectory
       The directory within the Amazon EFS file system to mount as the root directory inside the host.
@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/AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails.java