
com.pulumi.azurenative.awsconnector.outputs.FileSystemProtectionResponse Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.awsconnector.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class FileSystemProtectionResponse {
/**
* @return 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.
*
*/
private @Nullable String replicationOverwriteProtection;
private FileSystemProtectionResponse() {}
/**
* @return 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.
*
*/
public Optional replicationOverwriteProtection() {
return Optional.ofNullable(this.replicationOverwriteProtection);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FileSystemProtectionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String replicationOverwriteProtection;
public Builder() {}
public Builder(FileSystemProtectionResponse defaults) {
Objects.requireNonNull(defaults);
this.replicationOverwriteProtection = defaults.replicationOverwriteProtection;
}
@CustomType.Setter
public Builder replicationOverwriteProtection(@Nullable String replicationOverwriteProtection) {
this.replicationOverwriteProtection = replicationOverwriteProtection;
return this;
}
public FileSystemProtectionResponse build() {
final var _resultValue = new FileSystemProtectionResponse();
_resultValue.replicationOverwriteProtection = replicationOverwriteProtection;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy