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

com.pulumi.azurenative.deviceregistry.AssetEndpointProfileArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.deviceregistry.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.deviceregistry.inputs.TransportAuthenticationArgs;
import com.pulumi.azurenative.deviceregistry.inputs.UserAuthenticationArgs;
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 AssetEndpointProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final AssetEndpointProfileArgs Empty = new AssetEndpointProfileArgs();

    /**
     * Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).
     * 
     */
    @Import(name="additionalConfiguration")
    private @Nullable Output additionalConfiguration;

    /**
     * @return Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).
     * 
     */
    public Optional> additionalConfiguration() {
        return Optional.ofNullable(this.additionalConfiguration);
    }

    /**
     * Asset Endpoint Profile name parameter.
     * 
     */
    @Import(name="assetEndpointProfileName")
    private @Nullable Output assetEndpointProfileName;

    /**
     * @return Asset Endpoint Profile name parameter.
     * 
     */
    public Optional> assetEndpointProfileName() {
        return Optional.ofNullable(this.assetEndpointProfileName);
    }

    /**
     * The extended location.
     * 
     */
    @Import(name="extendedLocation", required=true)
    private Output extendedLocation;

    /**
     * @return The extended location.
     * 
     */
    public Output extendedLocation() {
        return this.extendedLocation;
    }

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

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

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    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 local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.
     * 
     */
    @Import(name="targetAddress", required=true)
    private Output targetAddress;

    /**
     * @return The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.
     * 
     */
    public Output targetAddress() {
        return this.targetAddress;
    }

    /**
     * Defines the authentication mechanism for the southbound connector connecting to the shop floor/OT device.
     * 
     */
    @Import(name="transportAuthentication")
    private @Nullable Output transportAuthentication;

    /**
     * @return Defines the authentication mechanism for the southbound connector connecting to the shop floor/OT device.
     * 
     */
    public Optional> transportAuthentication() {
        return Optional.ofNullable(this.transportAuthentication);
    }

    /**
     * Defines the client authentication mechanism to the server.
     * 
     */
    @Import(name="userAuthentication")
    private @Nullable Output userAuthentication;

    /**
     * @return Defines the client authentication mechanism to the server.
     * 
     */
    public Optional> userAuthentication() {
        return Optional.ofNullable(this.userAuthentication);
    }

    private AssetEndpointProfileArgs() {}

    private AssetEndpointProfileArgs(AssetEndpointProfileArgs $) {
        this.additionalConfiguration = $.additionalConfiguration;
        this.assetEndpointProfileName = $.assetEndpointProfileName;
        this.extendedLocation = $.extendedLocation;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.targetAddress = $.targetAddress;
        this.transportAuthentication = $.transportAuthentication;
        this.userAuthentication = $.userAuthentication;
    }

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

    public static final class Builder {
        private AssetEndpointProfileArgs $;

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

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

        /**
         * @param additionalConfiguration Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).
         * 
         * @return builder
         * 
         */
        public Builder additionalConfiguration(@Nullable Output additionalConfiguration) {
            $.additionalConfiguration = additionalConfiguration;
            return this;
        }

        /**
         * @param additionalConfiguration Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).
         * 
         * @return builder
         * 
         */
        public Builder additionalConfiguration(String additionalConfiguration) {
            return additionalConfiguration(Output.of(additionalConfiguration));
        }

        /**
         * @param assetEndpointProfileName Asset Endpoint Profile name parameter.
         * 
         * @return builder
         * 
         */
        public Builder assetEndpointProfileName(@Nullable Output assetEndpointProfileName) {
            $.assetEndpointProfileName = assetEndpointProfileName;
            return this;
        }

        /**
         * @param assetEndpointProfileName Asset Endpoint Profile name parameter.
         * 
         * @return builder
         * 
         */
        public Builder assetEndpointProfileName(String assetEndpointProfileName) {
            return assetEndpointProfileName(Output.of(assetEndpointProfileName));
        }

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

        /**
         * @param extendedLocation The extended location.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocation(ExtendedLocationArgs extendedLocation) {
            return extendedLocation(Output.of(extendedLocation));
        }

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

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

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @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 targetAddress The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.
         * 
         * @return builder
         * 
         */
        public Builder targetAddress(Output targetAddress) {
            $.targetAddress = targetAddress;
            return this;
        }

        /**
         * @param targetAddress The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.
         * 
         * @return builder
         * 
         */
        public Builder targetAddress(String targetAddress) {
            return targetAddress(Output.of(targetAddress));
        }

        /**
         * @param transportAuthentication Defines the authentication mechanism for the southbound connector connecting to the shop floor/OT device.
         * 
         * @return builder
         * 
         */
        public Builder transportAuthentication(@Nullable Output transportAuthentication) {
            $.transportAuthentication = transportAuthentication;
            return this;
        }

        /**
         * @param transportAuthentication Defines the authentication mechanism for the southbound connector connecting to the shop floor/OT device.
         * 
         * @return builder
         * 
         */
        public Builder transportAuthentication(TransportAuthenticationArgs transportAuthentication) {
            return transportAuthentication(Output.of(transportAuthentication));
        }

        /**
         * @param userAuthentication Defines the client authentication mechanism to the server.
         * 
         * @return builder
         * 
         */
        public Builder userAuthentication(@Nullable Output userAuthentication) {
            $.userAuthentication = userAuthentication;
            return this;
        }

        /**
         * @param userAuthentication Defines the client authentication mechanism to the server.
         * 
         * @return builder
         * 
         */
        public Builder userAuthentication(UserAuthenticationArgs userAuthentication) {
            return userAuthentication(Output.of(userAuthentication));
        }

        public AssetEndpointProfileArgs build() {
            if ($.extendedLocation == null) {
                throw new MissingRequiredPropertyException("AssetEndpointProfileArgs", "extendedLocation");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("AssetEndpointProfileArgs", "resourceGroupName");
            }
            if ($.targetAddress == null) {
                throw new MissingRequiredPropertyException("AssetEndpointProfileArgs", "targetAddress");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy