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

com.pulumi.azurenative.deviceupdate.inputs.IotHubSettingsArgs 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.deviceupdate.inputs;

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


/**
 * Device Update account integration with IoT Hub settings.
 * 
 */
public final class IotHubSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final IotHubSettingsArgs Empty = new IotHubSettingsArgs();

    /**
     * IoTHub resource ID
     * 
     */
    @Import(name="resourceId", required=true)
    private Output resourceId;

    /**
     * @return IoTHub resource ID
     * 
     */
    public Output resourceId() {
        return this.resourceId;
    }

    private IotHubSettingsArgs() {}

    private IotHubSettingsArgs(IotHubSettingsArgs $) {
        this.resourceId = $.resourceId;
    }

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

    public static final class Builder {
        private IotHubSettingsArgs $;

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

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

        /**
         * @param resourceId IoTHub resource ID
         * 
         * @return builder
         * 
         */
        public Builder resourceId(Output resourceId) {
            $.resourceId = resourceId;
            return this;
        }

        /**
         * @param resourceId IoTHub resource ID
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            return resourceId(Output.of(resourceId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy