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

com.pulumi.azurenative.avs.inputs.AddonVrPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.avs.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.Integer;
import java.lang.String;
import java.util.Objects;


/**
 * The properties of a vSphere Replication (VR) addon
 * 
 */
public final class AddonVrPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AddonVrPropertiesArgs Empty = new AddonVrPropertiesArgs();

    /**
     * The type of private cloud addon
     * Expected value is 'VR'.
     * 
     */
    @Import(name="addonType", required=true)
    private Output addonType;

    /**
     * @return The type of private cloud addon
     * Expected value is 'VR'.
     * 
     */
    public Output addonType() {
        return this.addonType;
    }

    /**
     * The vSphere Replication Server (VRS) count
     * 
     */
    @Import(name="vrsCount", required=true)
    private Output vrsCount;

    /**
     * @return The vSphere Replication Server (VRS) count
     * 
     */
    public Output vrsCount() {
        return this.vrsCount;
    }

    private AddonVrPropertiesArgs() {}

    private AddonVrPropertiesArgs(AddonVrPropertiesArgs $) {
        this.addonType = $.addonType;
        this.vrsCount = $.vrsCount;
    }

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

    public static final class Builder {
        private AddonVrPropertiesArgs $;

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

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

        /**
         * @param addonType The type of private cloud addon
         * Expected value is 'VR'.
         * 
         * @return builder
         * 
         */
        public Builder addonType(Output addonType) {
            $.addonType = addonType;
            return this;
        }

        /**
         * @param addonType The type of private cloud addon
         * Expected value is 'VR'.
         * 
         * @return builder
         * 
         */
        public Builder addonType(String addonType) {
            return addonType(Output.of(addonType));
        }

        /**
         * @param vrsCount The vSphere Replication Server (VRS) count
         * 
         * @return builder
         * 
         */
        public Builder vrsCount(Output vrsCount) {
            $.vrsCount = vrsCount;
            return this;
        }

        /**
         * @param vrsCount The vSphere Replication Server (VRS) count
         * 
         * @return builder
         * 
         */
        public Builder vrsCount(Integer vrsCount) {
            return vrsCount(Output.of(vrsCount));
        }

        public AddonVrPropertiesArgs build() {
            $.addonType = Codegen.stringProp("addonType").output().arg($.addonType).require();
            if ($.vrsCount == null) {
                throw new MissingRequiredPropertyException("AddonVrPropertiesArgs", "vrsCount");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy