public PutFileSystemPolicyResult withPolicy(String policy) {
        setPolicy(policy);
        return this;
    }
<p>
The JSON formatted <code>FileSystemPolicy</code> for the EFS file system.
</p>

@param policy
       The JSON formatted <code>FileSystemPolicy</code> for the EFS file system.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-efs/src/main/java/com/amazonaws/services/elasticfilesystem/model/PutFileSystemPolicyResult.java