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

com.pulumi.azurenative.azurestackhci.EdgeDeviceArgs 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.azurestackhci;

import com.pulumi.azurenative.azurestackhci.inputs.DeviceConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final EdgeDeviceArgs Empty = new EdgeDeviceArgs();

    /**
     * Device Configuration
     * 
     */
    @Import(name="deviceConfiguration", required=true)
    private Output deviceConfiguration;

    /**
     * @return Device Configuration
     * 
     */
    public Output deviceConfiguration() {
        return this.deviceConfiguration;
    }

    /**
     * Name of Device
     * 
     */
    @Import(name="edgeDeviceName")
    private @Nullable Output edgeDeviceName;

    /**
     * @return Name of Device
     * 
     */
    public Optional> edgeDeviceName() {
        return Optional.ofNullable(this.edgeDeviceName);
    }

    /**
     * The fully qualified Azure Resource manager identifier of the resource.
     * 
     */
    @Import(name="resourceUri", required=true)
    private Output resourceUri;

    /**
     * @return The fully qualified Azure Resource manager identifier of the resource.
     * 
     */
    public Output resourceUri() {
        return this.resourceUri;
    }

    private EdgeDeviceArgs() {}

    private EdgeDeviceArgs(EdgeDeviceArgs $) {
        this.deviceConfiguration = $.deviceConfiguration;
        this.edgeDeviceName = $.edgeDeviceName;
        this.resourceUri = $.resourceUri;
    }

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

    public static final class Builder {
        private EdgeDeviceArgs $;

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

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

        /**
         * @param deviceConfiguration Device Configuration
         * 
         * @return builder
         * 
         */
        public Builder deviceConfiguration(Output deviceConfiguration) {
            $.deviceConfiguration = deviceConfiguration;
            return this;
        }

        /**
         * @param deviceConfiguration Device Configuration
         * 
         * @return builder
         * 
         */
        public Builder deviceConfiguration(DeviceConfigurationArgs deviceConfiguration) {
            return deviceConfiguration(Output.of(deviceConfiguration));
        }

        /**
         * @param edgeDeviceName Name of Device
         * 
         * @return builder
         * 
         */
        public Builder edgeDeviceName(@Nullable Output edgeDeviceName) {
            $.edgeDeviceName = edgeDeviceName;
            return this;
        }

        /**
         * @param edgeDeviceName Name of Device
         * 
         * @return builder
         * 
         */
        public Builder edgeDeviceName(String edgeDeviceName) {
            return edgeDeviceName(Output.of(edgeDeviceName));
        }

        /**
         * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceUri(Output resourceUri) {
            $.resourceUri = resourceUri;
            return this;
        }

        /**
         * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceUri(String resourceUri) {
            return resourceUri(Output.of(resourceUri));
        }

        public EdgeDeviceArgs build() {
            if ($.deviceConfiguration == null) {
                throw new MissingRequiredPropertyException("EdgeDeviceArgs", "deviceConfiguration");
            }
            if ($.resourceUri == null) {
                throw new MissingRequiredPropertyException("EdgeDeviceArgs", "resourceUri");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy