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

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

There is a newer version: 2.78.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;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AddonArcPropertiesArgs Empty = new AddonArcPropertiesArgs();

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

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

    /**
     * The VMware vCenter resource ID
     * 
     */
    @Import(name="vCenter")
    private @Nullable Output vCenter;

    /**
     * @return The VMware vCenter resource ID
     * 
     */
    public Optional> vCenter() {
        return Optional.ofNullable(this.vCenter);
    }

    private AddonArcPropertiesArgs() {}

    private AddonArcPropertiesArgs(AddonArcPropertiesArgs $) {
        this.addonType = $.addonType;
        this.vCenter = $.vCenter;
    }

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

    public static final class Builder {
        private AddonArcPropertiesArgs $;

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

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

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

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

        /**
         * @param vCenter The VMware vCenter resource ID
         * 
         * @return builder
         * 
         */
        public Builder vCenter(@Nullable Output vCenter) {
            $.vCenter = vCenter;
            return this;
        }

        /**
         * @param vCenter The VMware vCenter resource ID
         * 
         * @return builder
         * 
         */
        public Builder vCenter(String vCenter) {
            return vCenter(Output.of(vCenter));
        }

        public AddonArcPropertiesArgs build() {
            $.addonType = Codegen.stringProp("addonType").output().arg($.addonType).require();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy