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

com.pulumi.azurenative.azurelargeinstance.inputs.HardwareProfileArgs 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.azurelargeinstance.inputs;

import com.pulumi.azurenative.azurelargeinstance.enums.AzureLargeInstanceHardwareTypeNamesEnum;
import com.pulumi.azurenative.azurelargeinstance.enums.AzureLargeInstanceSizeNamesEnum;
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 hardware settings for the Azure Large Instance.
 * 
 */
public final class HardwareProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final HardwareProfileArgs Empty = new HardwareProfileArgs();

    /**
     * Specifies the Azure Large Instance SKU.
     * 
     */
    @Import(name="azureLargeInstanceSize")
    private @Nullable Output> azureLargeInstanceSize;

    /**
     * @return Specifies the Azure Large Instance SKU.
     * 
     */
    public Optional>> azureLargeInstanceSize() {
        return Optional.ofNullable(this.azureLargeInstanceSize);
    }

    /**
     * Name of the hardware type (vendor and/or their product name)
     * 
     */
    @Import(name="hardwareType")
    private @Nullable Output> hardwareType;

    /**
     * @return Name of the hardware type (vendor and/or their product name)
     * 
     */
    public Optional>> hardwareType() {
        return Optional.ofNullable(this.hardwareType);
    }

    private HardwareProfileArgs() {}

    private HardwareProfileArgs(HardwareProfileArgs $) {
        this.azureLargeInstanceSize = $.azureLargeInstanceSize;
        this.hardwareType = $.hardwareType;
    }

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

    public static final class Builder {
        private HardwareProfileArgs $;

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

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

        /**
         * @param azureLargeInstanceSize Specifies the Azure Large Instance SKU.
         * 
         * @return builder
         * 
         */
        public Builder azureLargeInstanceSize(@Nullable Output> azureLargeInstanceSize) {
            $.azureLargeInstanceSize = azureLargeInstanceSize;
            return this;
        }

        /**
         * @param azureLargeInstanceSize Specifies the Azure Large Instance SKU.
         * 
         * @return builder
         * 
         */
        public Builder azureLargeInstanceSize(Either azureLargeInstanceSize) {
            return azureLargeInstanceSize(Output.of(azureLargeInstanceSize));
        }

        /**
         * @param azureLargeInstanceSize Specifies the Azure Large Instance SKU.
         * 
         * @return builder
         * 
         */
        public Builder azureLargeInstanceSize(String azureLargeInstanceSize) {
            return azureLargeInstanceSize(Either.ofLeft(azureLargeInstanceSize));
        }

        /**
         * @param azureLargeInstanceSize Specifies the Azure Large Instance SKU.
         * 
         * @return builder
         * 
         */
        public Builder azureLargeInstanceSize(AzureLargeInstanceSizeNamesEnum azureLargeInstanceSize) {
            return azureLargeInstanceSize(Either.ofRight(azureLargeInstanceSize));
        }

        /**
         * @param hardwareType Name of the hardware type (vendor and/or their product name)
         * 
         * @return builder
         * 
         */
        public Builder hardwareType(@Nullable Output> hardwareType) {
            $.hardwareType = hardwareType;
            return this;
        }

        /**
         * @param hardwareType Name of the hardware type (vendor and/or their product name)
         * 
         * @return builder
         * 
         */
        public Builder hardwareType(Either hardwareType) {
            return hardwareType(Output.of(hardwareType));
        }

        /**
         * @param hardwareType Name of the hardware type (vendor and/or their product name)
         * 
         * @return builder
         * 
         */
        public Builder hardwareType(String hardwareType) {
            return hardwareType(Either.ofLeft(hardwareType));
        }

        /**
         * @param hardwareType Name of the hardware type (vendor and/or their product name)
         * 
         * @return builder
         * 
         */
        public Builder hardwareType(AzureLargeInstanceHardwareTypeNamesEnum hardwareType) {
            return hardwareType(Either.ofRight(hardwareType));
        }

        public HardwareProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy