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

com.pulumi.azurenative.migrate.inputs.HypervVirtualizationManagementSettingsArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.migrate.inputs;

import com.pulumi.azurenative.migrate.inputs.HypervLicenseArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.Integer;
import java.util.List;
import java.util.Objects;


/**
 * HyperV Virtualization Management Settings.
 * 
 */
public final class HypervVirtualizationManagementSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final HypervVirtualizationManagementSettingsArgs Empty = new HypervVirtualizationManagementSettingsArgs();

    /**
     * Licence and support list.
     * 
     */
    @Import(name="licenseAndSupportList", required=true)
    private Output> licenseAndSupportList;

    /**
     * @return Licence and support list.
     * 
     */
    public Output> licenseAndSupportList() {
        return this.licenseAndSupportList;
    }

    /**
     * Number of physical cores per licence.
     * 
     */
    @Import(name="numberOfPhysicalCoresPerLicense", required=true)
    private Output numberOfPhysicalCoresPerLicense;

    /**
     * @return Number of physical cores per licence.
     * 
     */
    public Output numberOfPhysicalCoresPerLicense() {
        return this.numberOfPhysicalCoresPerLicense;
    }

    /**
     * Software Assurance Cost.
     * 
     */
    @Import(name="softwareAssuranceCost", required=true)
    private Output softwareAssuranceCost;

    /**
     * @return Software Assurance Cost.
     * 
     */
    public Output softwareAssuranceCost() {
        return this.softwareAssuranceCost;
    }

    private HypervVirtualizationManagementSettingsArgs() {}

    private HypervVirtualizationManagementSettingsArgs(HypervVirtualizationManagementSettingsArgs $) {
        this.licenseAndSupportList = $.licenseAndSupportList;
        this.numberOfPhysicalCoresPerLicense = $.numberOfPhysicalCoresPerLicense;
        this.softwareAssuranceCost = $.softwareAssuranceCost;
    }

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

    public static final class Builder {
        private HypervVirtualizationManagementSettingsArgs $;

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

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

        /**
         * @param licenseAndSupportList Licence and support list.
         * 
         * @return builder
         * 
         */
        public Builder licenseAndSupportList(Output> licenseAndSupportList) {
            $.licenseAndSupportList = licenseAndSupportList;
            return this;
        }

        /**
         * @param licenseAndSupportList Licence and support list.
         * 
         * @return builder
         * 
         */
        public Builder licenseAndSupportList(List licenseAndSupportList) {
            return licenseAndSupportList(Output.of(licenseAndSupportList));
        }

        /**
         * @param licenseAndSupportList Licence and support list.
         * 
         * @return builder
         * 
         */
        public Builder licenseAndSupportList(HypervLicenseArgs... licenseAndSupportList) {
            return licenseAndSupportList(List.of(licenseAndSupportList));
        }

        /**
         * @param numberOfPhysicalCoresPerLicense Number of physical cores per licence.
         * 
         * @return builder
         * 
         */
        public Builder numberOfPhysicalCoresPerLicense(Output numberOfPhysicalCoresPerLicense) {
            $.numberOfPhysicalCoresPerLicense = numberOfPhysicalCoresPerLicense;
            return this;
        }

        /**
         * @param numberOfPhysicalCoresPerLicense Number of physical cores per licence.
         * 
         * @return builder
         * 
         */
        public Builder numberOfPhysicalCoresPerLicense(Integer numberOfPhysicalCoresPerLicense) {
            return numberOfPhysicalCoresPerLicense(Output.of(numberOfPhysicalCoresPerLicense));
        }

        /**
         * @param softwareAssuranceCost Software Assurance Cost.
         * 
         * @return builder
         * 
         */
        public Builder softwareAssuranceCost(Output softwareAssuranceCost) {
            $.softwareAssuranceCost = softwareAssuranceCost;
            return this;
        }

        /**
         * @param softwareAssuranceCost Software Assurance Cost.
         * 
         * @return builder
         * 
         */
        public Builder softwareAssuranceCost(Double softwareAssuranceCost) {
            return softwareAssuranceCost(Output.of(softwareAssuranceCost));
        }

        public HypervVirtualizationManagementSettingsArgs build() {
            if ($.licenseAndSupportList == null) {
                throw new MissingRequiredPropertyException("HypervVirtualizationManagementSettingsArgs", "licenseAndSupportList");
            }
            if ($.numberOfPhysicalCoresPerLicense == null) {
                throw new MissingRequiredPropertyException("HypervVirtualizationManagementSettingsArgs", "numberOfPhysicalCoresPerLicense");
            }
            if ($.softwareAssuranceCost == null) {
                throw new MissingRequiredPropertyException("HypervVirtualizationManagementSettingsArgs", "softwareAssuranceCost");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy