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

com.pulumi.azurenative.windowsiot.ServiceArgs 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.windowsiot;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ServiceArgs Empty = new ServiceArgs();

    /**
     * Windows IoT Device Service OEM AAD domain
     * 
     */
    @Import(name="adminDomainName")
    private @Nullable Output adminDomainName;

    /**
     * @return Windows IoT Device Service OEM AAD domain
     * 
     */
    public Optional> adminDomainName() {
        return Optional.ofNullable(this.adminDomainName);
    }

    /**
     * Windows IoT Device Service ODM AAD domain
     * 
     */
    @Import(name="billingDomainName")
    private @Nullable Output billingDomainName;

    /**
     * @return Windows IoT Device Service ODM AAD domain
     * 
     */
    public Optional> billingDomainName() {
        return Optional.ofNullable(this.billingDomainName);
    }

    /**
     * The name of the Windows IoT Device Service.
     * 
     */
    @Import(name="deviceName")
    private @Nullable Output deviceName;

    /**
     * @return The name of the Windows IoT Device Service.
     * 
     */
    public Optional> deviceName() {
        return Optional.ofNullable(this.deviceName);
    }

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

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

    /**
     * Windows IoT Device Service notes.
     * 
     */
    @Import(name="notes")
    private @Nullable Output notes;

    /**
     * @return Windows IoT Device Service notes.
     * 
     */
    public Optional> notes() {
        return Optional.ofNullable(this.notes);
    }

    /**
     * Windows IoT Device Service device allocation,
     * 
     */
    @Import(name="quantity")
    private @Nullable Output quantity;

    /**
     * @return Windows IoT Device Service device allocation,
     * 
     */
    public Optional> quantity() {
        return Optional.ofNullable(this.quantity);
    }

    /**
     * The name of the resource group that contains the Windows IoT Device Service.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group that contains the Windows IoT Device Service.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

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

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

    private ServiceArgs() {}

    private ServiceArgs(ServiceArgs $) {
        this.adminDomainName = $.adminDomainName;
        this.billingDomainName = $.billingDomainName;
        this.deviceName = $.deviceName;
        this.location = $.location;
        this.notes = $.notes;
        this.quantity = $.quantity;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ServiceArgs $;

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

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

        /**
         * @param adminDomainName Windows IoT Device Service OEM AAD domain
         * 
         * @return builder
         * 
         */
        public Builder adminDomainName(@Nullable Output adminDomainName) {
            $.adminDomainName = adminDomainName;
            return this;
        }

        /**
         * @param adminDomainName Windows IoT Device Service OEM AAD domain
         * 
         * @return builder
         * 
         */
        public Builder adminDomainName(String adminDomainName) {
            return adminDomainName(Output.of(adminDomainName));
        }

        /**
         * @param billingDomainName Windows IoT Device Service ODM AAD domain
         * 
         * @return builder
         * 
         */
        public Builder billingDomainName(@Nullable Output billingDomainName) {
            $.billingDomainName = billingDomainName;
            return this;
        }

        /**
         * @param billingDomainName Windows IoT Device Service ODM AAD domain
         * 
         * @return builder
         * 
         */
        public Builder billingDomainName(String billingDomainName) {
            return billingDomainName(Output.of(billingDomainName));
        }

        /**
         * @param deviceName The name of the Windows IoT Device Service.
         * 
         * @return builder
         * 
         */
        public Builder deviceName(@Nullable Output deviceName) {
            $.deviceName = deviceName;
            return this;
        }

        /**
         * @param deviceName The name of the Windows IoT Device Service.
         * 
         * @return builder
         * 
         */
        public Builder deviceName(String deviceName) {
            return deviceName(Output.of(deviceName));
        }

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

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

        /**
         * @param notes Windows IoT Device Service notes.
         * 
         * @return builder
         * 
         */
        public Builder notes(@Nullable Output notes) {
            $.notes = notes;
            return this;
        }

        /**
         * @param notes Windows IoT Device Service notes.
         * 
         * @return builder
         * 
         */
        public Builder notes(String notes) {
            return notes(Output.of(notes));
        }

        /**
         * @param quantity Windows IoT Device Service device allocation,
         * 
         * @return builder
         * 
         */
        public Builder quantity(@Nullable Output quantity) {
            $.quantity = quantity;
            return this;
        }

        /**
         * @param quantity Windows IoT Device Service device allocation,
         * 
         * @return builder
         * 
         */
        public Builder quantity(Double quantity) {
            return quantity(Output.of(quantity));
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the Windows IoT Device Service.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the Windows IoT Device Service.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @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 ServiceArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ServiceArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy