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

com.pulumi.azurenative.migrate.inputs.LinuxServerLicensingSettingsArgs 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.migrate.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.util.Objects;


/**
 * Linux Server licensing settings.
 * 
 */
public final class LinuxServerLicensingSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final LinuxServerLicensingSettingsArgs Empty = new LinuxServerLicensingSettingsArgs();

    /**
     * Licence Cost.
     * 
     */
    @Import(name="licenseCost", required=true)
    private Output licenseCost;

    /**
     * @return Licence Cost.
     * 
     */
    public Output licenseCost() {
        return this.licenseCost;
    }

    private LinuxServerLicensingSettingsArgs() {}

    private LinuxServerLicensingSettingsArgs(LinuxServerLicensingSettingsArgs $) {
        this.licenseCost = $.licenseCost;
    }

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

    public static final class Builder {
        private LinuxServerLicensingSettingsArgs $;

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

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

        /**
         * @param licenseCost Licence Cost.
         * 
         * @return builder
         * 
         */
        public Builder licenseCost(Output licenseCost) {
            $.licenseCost = licenseCost;
            return this;
        }

        /**
         * @param licenseCost Licence Cost.
         * 
         * @return builder
         * 
         */
        public Builder licenseCost(Double licenseCost) {
            return licenseCost(Output.of(licenseCost));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy