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

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

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


/**
 * Facility settings.
 * 
 */
public final class FacilitySettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final FacilitySettingsArgs Empty = new FacilitySettingsArgs();

    /**
     * The facilities cost.
     * 
     */
    @Import(name="facilitiesCost", required=true)
    private Output facilitiesCost;

    /**
     * @return The facilities cost.
     * 
     */
    public Output facilitiesCost() {
        return this.facilitiesCost;
    }

    private FacilitySettingsArgs() {}

    private FacilitySettingsArgs(FacilitySettingsArgs $) {
        this.facilitiesCost = $.facilitiesCost;
    }

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

    public static final class Builder {
        private FacilitySettingsArgs $;

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

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

        /**
         * @param facilitiesCost The facilities cost.
         * 
         * @return builder
         * 
         */
        public Builder facilitiesCost(Output facilitiesCost) {
            $.facilitiesCost = facilitiesCost;
            return this;
        }

        /**
         * @param facilitiesCost The facilities cost.
         * 
         * @return builder
         * 
         */
        public Builder facilitiesCost(Double facilitiesCost) {
            return facilitiesCost(Output.of(facilitiesCost));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy