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

com.pulumi.azurenative.dataprotection.inputs.SecuritySettingsArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.dataprotection.inputs;

import com.pulumi.azurenative.dataprotection.inputs.ImmutabilitySettingsArgs;
import com.pulumi.azurenative.dataprotection.inputs.SoftDeleteSettingsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Class containing security settings of vault
 * 
 */
public final class SecuritySettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final SecuritySettingsArgs Empty = new SecuritySettingsArgs();

    /**
     * Immutability Settings at vault level
     * 
     */
    @Import(name="immutabilitySettings")
    private @Nullable Output immutabilitySettings;

    /**
     * @return Immutability Settings at vault level
     * 
     */
    public Optional> immutabilitySettings() {
        return Optional.ofNullable(this.immutabilitySettings);
    }

    /**
     * Soft delete related settings
     * 
     */
    @Import(name="softDeleteSettings")
    private @Nullable Output softDeleteSettings;

    /**
     * @return Soft delete related settings
     * 
     */
    public Optional> softDeleteSettings() {
        return Optional.ofNullable(this.softDeleteSettings);
    }

    private SecuritySettingsArgs() {}

    private SecuritySettingsArgs(SecuritySettingsArgs $) {
        this.immutabilitySettings = $.immutabilitySettings;
        this.softDeleteSettings = $.softDeleteSettings;
    }

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

    public static final class Builder {
        private SecuritySettingsArgs $;

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

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

        /**
         * @param immutabilitySettings Immutability Settings at vault level
         * 
         * @return builder
         * 
         */
        public Builder immutabilitySettings(@Nullable Output immutabilitySettings) {
            $.immutabilitySettings = immutabilitySettings;
            return this;
        }

        /**
         * @param immutabilitySettings Immutability Settings at vault level
         * 
         * @return builder
         * 
         */
        public Builder immutabilitySettings(ImmutabilitySettingsArgs immutabilitySettings) {
            return immutabilitySettings(Output.of(immutabilitySettings));
        }

        /**
         * @param softDeleteSettings Soft delete related settings
         * 
         * @return builder
         * 
         */
        public Builder softDeleteSettings(@Nullable Output softDeleteSettings) {
            $.softDeleteSettings = softDeleteSettings;
            return this;
        }

        /**
         * @param softDeleteSettings Soft delete related settings
         * 
         * @return builder
         * 
         */
        public Builder softDeleteSettings(SoftDeleteSettingsArgs softDeleteSettings) {
            return softDeleteSettings(Output.of(softDeleteSettings));
        }

        public SecuritySettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy