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

com.pulumi.azurenative.workloads.inputs.NewRecoveryServicesVaultArgs 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.workloads.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * New recovery services vault.
 * 
 */
public final class NewRecoveryServicesVaultArgs extends com.pulumi.resources.ResourceArgs {

    public static final NewRecoveryServicesVaultArgs Empty = new NewRecoveryServicesVaultArgs();

    /**
     * The name of the recovery services vault has to be created.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of the recovery services vault has to be created.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The name of the resource group where the recovery services vault has to be created.
     * 
     */
    @Import(name="resourceGroup", required=true)
    private Output resourceGroup;

    /**
     * @return The name of the resource group where the recovery services vault has to be created.
     * 
     */
    public Output resourceGroup() {
        return this.resourceGroup;
    }

    /**
     * The vault type, whether it is existing or has to be created.
     * Expected value is 'New'.
     * 
     */
    @Import(name="vaultType", required=true)
    private Output vaultType;

    /**
     * @return The vault type, whether it is existing or has to be created.
     * Expected value is 'New'.
     * 
     */
    public Output vaultType() {
        return this.vaultType;
    }

    private NewRecoveryServicesVaultArgs() {}

    private NewRecoveryServicesVaultArgs(NewRecoveryServicesVaultArgs $) {
        this.name = $.name;
        this.resourceGroup = $.resourceGroup;
        this.vaultType = $.vaultType;
    }

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

    public static final class Builder {
        private NewRecoveryServicesVaultArgs $;

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

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

        /**
         * @param name The name of the recovery services vault has to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the recovery services vault has to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroup The name of the resource group where the recovery services vault has to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroup(Output resourceGroup) {
            $.resourceGroup = resourceGroup;
            return this;
        }

        /**
         * @param resourceGroup The name of the resource group where the recovery services vault has to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroup(String resourceGroup) {
            return resourceGroup(Output.of(resourceGroup));
        }

        /**
         * @param vaultType The vault type, whether it is existing or has to be created.
         * Expected value is 'New'.
         * 
         * @return builder
         * 
         */
        public Builder vaultType(Output vaultType) {
            $.vaultType = vaultType;
            return this;
        }

        /**
         * @param vaultType The vault type, whether it is existing or has to be created.
         * Expected value is 'New'.
         * 
         * @return builder
         * 
         */
        public Builder vaultType(String vaultType) {
            return vaultType(Output.of(vaultType));
        }

        public NewRecoveryServicesVaultArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("NewRecoveryServicesVaultArgs", "name");
            }
            if ($.resourceGroup == null) {
                throw new MissingRequiredPropertyException("NewRecoveryServicesVaultArgs", "resourceGroup");
            }
            $.vaultType = Codegen.stringProp("vaultType").output().arg($.vaultType).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy