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

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

import com.pulumi.azurenative.azurelargeinstance.enums.AzureLargeInstancePowerStateEnum;
import com.pulumi.azurenative.azurelargeinstance.inputs.HardwareProfileArgs;
import com.pulumi.azurenative.azurelargeinstance.inputs.NetworkProfileArgs;
import com.pulumi.azurenative.azurelargeinstance.inputs.OsProfileArgs;
import com.pulumi.azurenative.azurelargeinstance.inputs.StorageProfileArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class AzureLargeInstanceArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureLargeInstanceArgs Empty = new AzureLargeInstanceArgs();

    /**
     * Specifies the Azure Large Instance unique ID.
     * 
     */
    @Import(name="azureLargeInstanceId")
    private @Nullable Output azureLargeInstanceId;

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

    /**
     * Name of the AzureLargeInstance.
     * 
     */
    @Import(name="azureLargeInstanceName")
    private @Nullable Output azureLargeInstanceName;

    /**
     * @return Name of the AzureLargeInstance.
     * 
     */
    public Optional> azureLargeInstanceName() {
        return Optional.ofNullable(this.azureLargeInstanceName);
    }

    /**
     * Specifies the hardware settings for the Azure Large Instance.
     * 
     */
    @Import(name="hardwareProfile")
    private @Nullable Output hardwareProfile;

    /**
     * @return Specifies the hardware settings for the Azure Large Instance.
     * 
     */
    public Optional> hardwareProfile() {
        return Optional.ofNullable(this.hardwareProfile);
    }

    /**
     * Hardware revision of an Azure Large Instance
     * 
     */
    @Import(name="hwRevision")
    private @Nullable Output hwRevision;

    /**
     * @return Hardware revision of an Azure Large Instance
     * 
     */
    public Optional> hwRevision() {
        return Optional.ofNullable(this.hwRevision);
    }

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Specifies the network settings for the Azure Large Instance.
     * 
     */
    @Import(name="networkProfile")
    private @Nullable Output networkProfile;

    /**
     * @return Specifies the network settings for the Azure Large Instance.
     * 
     */
    public Optional> networkProfile() {
        return Optional.ofNullable(this.networkProfile);
    }

    /**
     * Specifies the operating system settings for the Azure Large Instance.
     * 
     */
    @Import(name="osProfile")
    private @Nullable Output osProfile;

    /**
     * @return Specifies the operating system settings for the Azure Large Instance.
     * 
     */
    public Optional> osProfile() {
        return Optional.ofNullable(this.osProfile);
    }

    /**
     * Resource power state
     * 
     */
    @Import(name="powerState")
    private @Nullable Output> powerState;

    /**
     * @return Resource power state
     * 
     */
    public Optional>> powerState() {
        return Optional.ofNullable(this.powerState);
    }

    /**
     * Resource proximity placement group
     * 
     */
    @Import(name="proximityPlacementGroup")
    private @Nullable Output proximityPlacementGroup;

    /**
     * @return Resource proximity placement group
     * 
     */
    public Optional> proximityPlacementGroup() {
        return Optional.ofNullable(this.proximityPlacementGroup);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Specifies the storage settings for the Azure Large Instance disks.
     * 
     */
    @Import(name="storageProfile")
    private @Nullable Output storageProfile;

    /**
     * @return Specifies the storage settings for the Azure Large Instance disks.
     * 
     */
    public Optional> storageProfile() {
        return Optional.ofNullable(this.storageProfile);
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private AzureLargeInstanceArgs() {}

    private AzureLargeInstanceArgs(AzureLargeInstanceArgs $) {
        this.azureLargeInstanceId = $.azureLargeInstanceId;
        this.azureLargeInstanceName = $.azureLargeInstanceName;
        this.hardwareProfile = $.hardwareProfile;
        this.hwRevision = $.hwRevision;
        this.location = $.location;
        this.networkProfile = $.networkProfile;
        this.osProfile = $.osProfile;
        this.powerState = $.powerState;
        this.proximityPlacementGroup = $.proximityPlacementGroup;
        this.resourceGroupName = $.resourceGroupName;
        this.storageProfile = $.storageProfile;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private AzureLargeInstanceArgs $;

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

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

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

        /**
         * @param azureLargeInstanceId Specifies the Azure Large Instance unique ID.
         * 
         * @return builder
         * 
         */
        public Builder azureLargeInstanceId(String azureLargeInstanceId) {
            return azureLargeInstanceId(Output.of(azureLargeInstanceId));
        }

        /**
         * @param azureLargeInstanceName Name of the AzureLargeInstance.
         * 
         * @return builder
         * 
         */
        public Builder azureLargeInstanceName(@Nullable Output azureLargeInstanceName) {
            $.azureLargeInstanceName = azureLargeInstanceName;
            return this;
        }

        /**
         * @param azureLargeInstanceName Name of the AzureLargeInstance.
         * 
         * @return builder
         * 
         */
        public Builder azureLargeInstanceName(String azureLargeInstanceName) {
            return azureLargeInstanceName(Output.of(azureLargeInstanceName));
        }

        /**
         * @param hardwareProfile Specifies the hardware settings for the Azure Large Instance.
         * 
         * @return builder
         * 
         */
        public Builder hardwareProfile(@Nullable Output hardwareProfile) {
            $.hardwareProfile = hardwareProfile;
            return this;
        }

        /**
         * @param hardwareProfile Specifies the hardware settings for the Azure Large Instance.
         * 
         * @return builder
         * 
         */
        public Builder hardwareProfile(HardwareProfileArgs hardwareProfile) {
            return hardwareProfile(Output.of(hardwareProfile));
        }

        /**
         * @param hwRevision Hardware revision of an Azure Large Instance
         * 
         * @return builder
         * 
         */
        public Builder hwRevision(@Nullable Output hwRevision) {
            $.hwRevision = hwRevision;
            return this;
        }

        /**
         * @param hwRevision Hardware revision of an Azure Large Instance
         * 
         * @return builder
         * 
         */
        public Builder hwRevision(String hwRevision) {
            return hwRevision(Output.of(hwRevision));
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param networkProfile Specifies the network settings for the Azure Large Instance.
         * 
         * @return builder
         * 
         */
        public Builder networkProfile(@Nullable Output networkProfile) {
            $.networkProfile = networkProfile;
            return this;
        }

        /**
         * @param networkProfile Specifies the network settings for the Azure Large Instance.
         * 
         * @return builder
         * 
         */
        public Builder networkProfile(NetworkProfileArgs networkProfile) {
            return networkProfile(Output.of(networkProfile));
        }

        /**
         * @param osProfile Specifies the operating system settings for the Azure Large Instance.
         * 
         * @return builder
         * 
         */
        public Builder osProfile(@Nullable Output osProfile) {
            $.osProfile = osProfile;
            return this;
        }

        /**
         * @param osProfile Specifies the operating system settings for the Azure Large Instance.
         * 
         * @return builder
         * 
         */
        public Builder osProfile(OsProfileArgs osProfile) {
            return osProfile(Output.of(osProfile));
        }

        /**
         * @param powerState Resource power state
         * 
         * @return builder
         * 
         */
        public Builder powerState(@Nullable Output> powerState) {
            $.powerState = powerState;
            return this;
        }

        /**
         * @param powerState Resource power state
         * 
         * @return builder
         * 
         */
        public Builder powerState(Either powerState) {
            return powerState(Output.of(powerState));
        }

        /**
         * @param powerState Resource power state
         * 
         * @return builder
         * 
         */
        public Builder powerState(String powerState) {
            return powerState(Either.ofLeft(powerState));
        }

        /**
         * @param powerState Resource power state
         * 
         * @return builder
         * 
         */
        public Builder powerState(AzureLargeInstancePowerStateEnum powerState) {
            return powerState(Either.ofRight(powerState));
        }

        /**
         * @param proximityPlacementGroup Resource proximity placement group
         * 
         * @return builder
         * 
         */
        public Builder proximityPlacementGroup(@Nullable Output proximityPlacementGroup) {
            $.proximityPlacementGroup = proximityPlacementGroup;
            return this;
        }

        /**
         * @param proximityPlacementGroup Resource proximity placement group
         * 
         * @return builder
         * 
         */
        public Builder proximityPlacementGroup(String proximityPlacementGroup) {
            return proximityPlacementGroup(Output.of(proximityPlacementGroup));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param storageProfile Specifies the storage settings for the Azure Large Instance disks.
         * 
         * @return builder
         * 
         */
        public Builder storageProfile(@Nullable Output storageProfile) {
            $.storageProfile = storageProfile;
            return this;
        }

        /**
         * @param storageProfile Specifies the storage settings for the Azure Large Instance disks.
         * 
         * @return builder
         * 
         */
        public Builder storageProfile(StorageProfileArgs storageProfile) {
            return storageProfile(Output.of(storageProfile));
        }

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

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public AzureLargeInstanceArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("AzureLargeInstanceArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy