Interface UpdateFileSystemProtectionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateFileSystemProtectionRequest.Builder,UpdateFileSystemProtectionRequest>, EfsRequest.Builder, SdkBuilder<UpdateFileSystemProtectionRequest.Builder,UpdateFileSystemProtectionRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateFileSystemProtectionRequest

public static interface UpdateFileSystemProtectionRequest.Builder extends EfsRequest.Builder, SdkPojo, CopyableBuilder<UpdateFileSystemProtectionRequest.Builder,UpdateFileSystemProtectionRequest>
  • Method Details

    • 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

      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:
    • overrideConfiguration

      UpdateFileSystemProtectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.