public EfsFileSystemConfiguration withFileSystemPolicy(String fileSystemPolicy) {
        setFileSystemPolicy(fileSystemPolicy);
        return this;
    }
<p>
The JSON policy definition to apply to the Amazon EFS file system. For more information on the elements that make
up a file system policy, see <a href=
"https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies"
>Amazon EFS Resource-based policies</a>.
</p>

@param fileSystemPolicy
       The JSON policy definition to apply to the Amazon EFS file system. For more information on the elements
       that make up a file system policy, see <a href=
       "https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies"
       >Amazon EFS Resource-based policies</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/EfsFileSystemConfiguration.java