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

com.pulumi.azurenative.healthcareapis.IotConnectorArgs 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.healthcareapis;

import com.pulumi.azurenative.healthcareapis.inputs.IotEventHubIngestionEndpointConfigurationArgs;
import com.pulumi.azurenative.healthcareapis.inputs.IotMappingPropertiesArgs;
import com.pulumi.azurenative.healthcareapis.inputs.ServiceManagedIdentityIdentityArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final IotConnectorArgs Empty = new IotConnectorArgs();

    /**
     * Device Mappings.
     * 
     */
    @Import(name="deviceMapping")
    private @Nullable Output deviceMapping;

    /**
     * @return Device Mappings.
     * 
     */
    public Optional> deviceMapping() {
        return Optional.ofNullable(this.deviceMapping);
    }

    /**
     * Setting indicating whether the service has a managed identity associated with it.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return Setting indicating whether the service has a managed identity associated with it.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * Source configuration.
     * 
     */
    @Import(name="ingestionEndpointConfiguration")
    private @Nullable Output ingestionEndpointConfiguration;

    /**
     * @return Source configuration.
     * 
     */
    public Optional> ingestionEndpointConfiguration() {
        return Optional.ofNullable(this.ingestionEndpointConfiguration);
    }

    /**
     * The name of IoT Connector resource.
     * 
     */
    @Import(name="iotConnectorName")
    private @Nullable Output iotConnectorName;

    /**
     * @return The name of IoT Connector resource.
     * 
     */
    public Optional> iotConnectorName() {
        return Optional.ofNullable(this.iotConnectorName);
    }

    /**
     * The resource location.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The resource location.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

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

    /**
     * @return The name of the resource group that contains the service instance.
     * 
     */
    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);
    }

    /**
     * The name of workspace resource.
     * 
     */
    @Import(name="workspaceName", required=true)
    private Output workspaceName;

    /**
     * @return The name of workspace resource.
     * 
     */
    public Output workspaceName() {
        return this.workspaceName;
    }

    private IotConnectorArgs() {}

    private IotConnectorArgs(IotConnectorArgs $) {
        this.deviceMapping = $.deviceMapping;
        this.identity = $.identity;
        this.ingestionEndpointConfiguration = $.ingestionEndpointConfiguration;
        this.iotConnectorName = $.iotConnectorName;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private IotConnectorArgs $;

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

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

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

        /**
         * @param deviceMapping Device Mappings.
         * 
         * @return builder
         * 
         */
        public Builder deviceMapping(IotMappingPropertiesArgs deviceMapping) {
            return deviceMapping(Output.of(deviceMapping));
        }

        /**
         * @param identity Setting indicating whether the service has a managed identity associated with it.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity Setting indicating whether the service has a managed identity associated with it.
         * 
         * @return builder
         * 
         */
        public Builder identity(ServiceManagedIdentityIdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param ingestionEndpointConfiguration Source configuration.
         * 
         * @return builder
         * 
         */
        public Builder ingestionEndpointConfiguration(@Nullable Output ingestionEndpointConfiguration) {
            $.ingestionEndpointConfiguration = ingestionEndpointConfiguration;
            return this;
        }

        /**
         * @param ingestionEndpointConfiguration Source configuration.
         * 
         * @return builder
         * 
         */
        public Builder ingestionEndpointConfiguration(IotEventHubIngestionEndpointConfigurationArgs ingestionEndpointConfiguration) {
            return ingestionEndpointConfiguration(Output.of(ingestionEndpointConfiguration));
        }

        /**
         * @param iotConnectorName The name of IoT Connector resource.
         * 
         * @return builder
         * 
         */
        public Builder iotConnectorName(@Nullable Output iotConnectorName) {
            $.iotConnectorName = iotConnectorName;
            return this;
        }

        /**
         * @param iotConnectorName The name of IoT Connector resource.
         * 
         * @return builder
         * 
         */
        public Builder iotConnectorName(String iotConnectorName) {
            return iotConnectorName(Output.of(iotConnectorName));
        }

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

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

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

        /**
         * @param resourceGroupName The name of the resource group that contains the service instance.
         * 
         * @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));
        }

        /**
         * @param workspaceName The name of workspace resource.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(Output workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

        /**
         * @param workspaceName The name of workspace resource.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            return workspaceName(Output.of(workspaceName));
        }

        public IotConnectorArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("IotConnectorArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("IotConnectorArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy