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

com.pulumi.azurenative.compute.inputs.RecommendedMachineConfigurationArgs 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.compute.inputs;

import com.pulumi.azurenative.compute.inputs.ResourceRangeArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
 * 
 */
public final class RecommendedMachineConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final RecommendedMachineConfigurationArgs Empty = new RecommendedMachineConfigurationArgs();

    /**
     * Describes the resource range.
     * 
     */
    @Import(name="memory")
    private @Nullable Output memory;

    /**
     * @return Describes the resource range.
     * 
     */
    public Optional> memory() {
        return Optional.ofNullable(this.memory);
    }

    /**
     * Describes the resource range.
     * 
     */
    @Import(name="vCPUs")
    private @Nullable Output vCPUs;

    /**
     * @return Describes the resource range.
     * 
     */
    public Optional> vCPUs() {
        return Optional.ofNullable(this.vCPUs);
    }

    private RecommendedMachineConfigurationArgs() {}

    private RecommendedMachineConfigurationArgs(RecommendedMachineConfigurationArgs $) {
        this.memory = $.memory;
        this.vCPUs = $.vCPUs;
    }

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

    public static final class Builder {
        private RecommendedMachineConfigurationArgs $;

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

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

        /**
         * @param memory Describes the resource range.
         * 
         * @return builder
         * 
         */
        public Builder memory(@Nullable Output memory) {
            $.memory = memory;
            return this;
        }

        /**
         * @param memory Describes the resource range.
         * 
         * @return builder
         * 
         */
        public Builder memory(ResourceRangeArgs memory) {
            return memory(Output.of(memory));
        }

        /**
         * @param vCPUs Describes the resource range.
         * 
         * @return builder
         * 
         */
        public Builder vCPUs(@Nullable Output vCPUs) {
            $.vCPUs = vCPUs;
            return this;
        }

        /**
         * @param vCPUs Describes the resource range.
         * 
         * @return builder
         * 
         */
        public Builder vCPUs(ResourceRangeArgs vCPUs) {
            return vCPUs(Output.of(vCPUs));
        }

        public RecommendedMachineConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy