Interface UpdateFileSystemProtectionRequest.Builder

    • Method Detail

      • fileSystemId

        UpdateFileSystemProtectionRequest.Builder fileSystemId​(String fileSystemId)

        The ID of the file system to update.

        Parameters:
        fileSystemId - The ID of the file system to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicationOverwriteProtection

        UpdateFileSystemProtectionRequest.Builder replicationOverwriteProtection​(String replicationOverwriteProtection)

        The status of the file system's replication overwrite protection.

        • ENABLED – The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ENABLED by default.

        • DISABLED – The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.

        • REPLICATING – The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.

        If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.

        Parameters:
        replicationOverwriteProtection - The status of the file system's replication overwrite protection.

        • ENABLED – The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ENABLED by default.

        • DISABLED – The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.

        • REPLICATING – The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.

        If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ReplicationOverwriteProtection, ReplicationOverwriteProtection
      • replicationOverwriteProtection

        UpdateFileSystemProtectionRequest.Builder replicationOverwriteProtection​(ReplicationOverwriteProtection replicationOverwriteProtection)

        The status of the file system's replication overwrite protection.

        • ENABLED – The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ENABLED by default.

        • DISABLED – The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.

        • REPLICATING – The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.

        If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.

        Parameters:
        replicationOverwriteProtection - The status of the file system's replication overwrite protection.

        • ENABLED – The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ENABLED by default.

        • DISABLED – The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.

        • REPLICATING – The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.

        If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ReplicationOverwriteProtection, ReplicationOverwriteProtection