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

com.pulumi.azurenative.connectedvmwarevsphere.inputs.InfrastructureProfileArgs 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.connectedvmwarevsphere.inputs;

import com.pulumi.azurenative.connectedvmwarevsphere.enums.FirmwareType;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Specifies the vCenter infrastructure specific settings for the virtual machine.
 * 
 */
public final class InfrastructureProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final InfrastructureProfileArgs Empty = new InfrastructureProfileArgs();

    /**
     * Firmware type
     * 
     */
    @Import(name="firmwareType")
    private @Nullable Output> firmwareType;

    /**
     * @return Firmware type
     * 
     */
    public Optional>> firmwareType() {
        return Optional.ofNullable(this.firmwareType);
    }

    /**
     * Gets or sets the inventory Item ID for the virtual machine.
     * 
     */
    @Import(name="inventoryItemId")
    private @Nullable Output inventoryItemId;

    /**
     * @return Gets or sets the inventory Item ID for the virtual machine.
     * 
     */
    public Optional> inventoryItemId() {
        return Optional.ofNullable(this.inventoryItemId);
    }

    /**
     * Gets or sets the SMBIOS UUID of the vm.
     * 
     */
    @Import(name="smbiosUuid")
    private @Nullable Output smbiosUuid;

    /**
     * @return Gets or sets the SMBIOS UUID of the vm.
     * 
     */
    public Optional> smbiosUuid() {
        return Optional.ofNullable(this.smbiosUuid);
    }

    /**
     * Gets or sets the ARM Id of the template resource to deploy the virtual machine.
     * 
     */
    @Import(name="templateId")
    private @Nullable Output templateId;

    /**
     * @return Gets or sets the ARM Id of the template resource to deploy the virtual machine.
     * 
     */
    public Optional> templateId() {
        return Optional.ofNullable(this.templateId);
    }

    /**
     * Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
     * 
     */
    @Import(name="vCenterId")
    private @Nullable Output vCenterId;

    /**
     * @return Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
     * 
     */
    public Optional> vCenterId() {
        return Optional.ofNullable(this.vCenterId);
    }

    private InfrastructureProfileArgs() {}

    private InfrastructureProfileArgs(InfrastructureProfileArgs $) {
        this.firmwareType = $.firmwareType;
        this.inventoryItemId = $.inventoryItemId;
        this.smbiosUuid = $.smbiosUuid;
        this.templateId = $.templateId;
        this.vCenterId = $.vCenterId;
    }

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

    public static final class Builder {
        private InfrastructureProfileArgs $;

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

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

        /**
         * @param firmwareType Firmware type
         * 
         * @return builder
         * 
         */
        public Builder firmwareType(@Nullable Output> firmwareType) {
            $.firmwareType = firmwareType;
            return this;
        }

        /**
         * @param firmwareType Firmware type
         * 
         * @return builder
         * 
         */
        public Builder firmwareType(Either firmwareType) {
            return firmwareType(Output.of(firmwareType));
        }

        /**
         * @param firmwareType Firmware type
         * 
         * @return builder
         * 
         */
        public Builder firmwareType(String firmwareType) {
            return firmwareType(Either.ofLeft(firmwareType));
        }

        /**
         * @param firmwareType Firmware type
         * 
         * @return builder
         * 
         */
        public Builder firmwareType(FirmwareType firmwareType) {
            return firmwareType(Either.ofRight(firmwareType));
        }

        /**
         * @param inventoryItemId Gets or sets the inventory Item ID for the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder inventoryItemId(@Nullable Output inventoryItemId) {
            $.inventoryItemId = inventoryItemId;
            return this;
        }

        /**
         * @param inventoryItemId Gets or sets the inventory Item ID for the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder inventoryItemId(String inventoryItemId) {
            return inventoryItemId(Output.of(inventoryItemId));
        }

        /**
         * @param smbiosUuid Gets or sets the SMBIOS UUID of the vm.
         * 
         * @return builder
         * 
         */
        public Builder smbiosUuid(@Nullable Output smbiosUuid) {
            $.smbiosUuid = smbiosUuid;
            return this;
        }

        /**
         * @param smbiosUuid Gets or sets the SMBIOS UUID of the vm.
         * 
         * @return builder
         * 
         */
        public Builder smbiosUuid(String smbiosUuid) {
            return smbiosUuid(Output.of(smbiosUuid));
        }

        /**
         * @param templateId Gets or sets the ARM Id of the template resource to deploy the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder templateId(@Nullable Output templateId) {
            $.templateId = templateId;
            return this;
        }

        /**
         * @param templateId Gets or sets the ARM Id of the template resource to deploy the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder templateId(String templateId) {
            return templateId(Output.of(templateId));
        }

        /**
         * @param vCenterId Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
         * 
         * @return builder
         * 
         */
        public Builder vCenterId(@Nullable Output vCenterId) {
            $.vCenterId = vCenterId;
            return this;
        }

        /**
         * @param vCenterId Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
         * 
         * @return builder
         * 
         */
        public Builder vCenterId(String vCenterId) {
            return vCenterId(Output.of(vCenterId));
        }

        public InfrastructureProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy