All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.awsconnector.inputs.FileSystemProtectionArgs 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.inputs;

import com.pulumi.azurenative.awsconnector.enums.FileSystemProtectionReplicationOverwriteProtection;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of FileSystemProtection
 * 
 */
public final class FileSystemProtectionArgs extends com.pulumi.resources.ResourceArgs {

    public static final FileSystemProtectionArgs Empty = new FileSystemProtectionArgs();

    /**
     * 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.
     * 
     */
    @Import(name="replicationOverwriteProtection")
    private @Nullable Output> replicationOverwriteProtection;

    /**
     * @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);
    }

    private FileSystemProtectionArgs() {}

    private FileSystemProtectionArgs(FileSystemProtectionArgs $) {
        this.replicationOverwriteProtection = $.replicationOverwriteProtection;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(FileSystemProtectionArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private FileSystemProtectionArgs $;

        public Builder() {
            $ = new FileSystemProtectionArgs();
        }

        public Builder(FileSystemProtectionArgs defaults) {
            $ = new FileSystemProtectionArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param 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.
         * 
         * @return builder
         * 
         */
        public Builder replicationOverwriteProtection(@Nullable Output> replicationOverwriteProtection) {
            $.replicationOverwriteProtection = replicationOverwriteProtection;
            return this;
        }

        /**
         * @param 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.
         * 
         * @return builder
         * 
         */
        public Builder replicationOverwriteProtection(Either replicationOverwriteProtection) {
            return replicationOverwriteProtection(Output.of(replicationOverwriteProtection));
        }

        /**
         * @param 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.
         * 
         * @return builder
         * 
         */
        public Builder replicationOverwriteProtection(String replicationOverwriteProtection) {
            return replicationOverwriteProtection(Either.ofLeft(replicationOverwriteProtection));
        }

        /**
         * @param 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.
         * 
         * @return builder
         * 
         */
        public Builder replicationOverwriteProtection(FileSystemProtectionReplicationOverwriteProtection replicationOverwriteProtection) {
            return replicationOverwriteProtection(Either.ofRight(replicationOverwriteProtection));
        }

        public FileSystemProtectionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy