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

com.pulumi.azurenative.avs.inputs.AddonHcxPropertiesArgs 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.String;
import java.util.Objects;


/**
 * The properties of an HCX addon
 * 
 */
public final class AddonHcxPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AddonHcxPropertiesArgs Empty = new AddonHcxPropertiesArgs();

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

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

    /**
     * The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
     * 
     */
    @Import(name="offer", required=true)
    private Output offer;

    /**
     * @return The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
     * 
     */
    public Output offer() {
        return this.offer;
    }

    private AddonHcxPropertiesArgs() {}

    private AddonHcxPropertiesArgs(AddonHcxPropertiesArgs $) {
        this.addonType = $.addonType;
        this.offer = $.offer;
    }

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

    public static final class Builder {
        private AddonHcxPropertiesArgs $;

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

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

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

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

        /**
         * @param offer The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
         * 
         * @return builder
         * 
         */
        public Builder offer(Output offer) {
            $.offer = offer;
            return this;
        }

        /**
         * @param offer The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
         * 
         * @return builder
         * 
         */
        public Builder offer(String offer) {
            return offer(Output.of(offer));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy