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

com.pulumi.azurenative.deviceregistry.outputs.DataPointResponse 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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DataPointResponse {
    /**
     * @return The path to the type definition of the capability (e.g. DTMI, OPC UA information model node id, etc.), for example dtmi:com:example:Robot:_contents:__prop1;1.
     * 
     */
    private @Nullable String capabilityId;
    /**
     * @return Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
     * 
     */
    private @Nullable String dataPointConfiguration;
    /**
     * @return The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
     * 
     */
    private String dataSource;
    /**
     * @return The name of the data point.
     * 
     */
    private @Nullable String name;
    /**
     * @return An indication of how the data point should be mapped to OpenTelemetry.
     * 
     */
    private @Nullable String observabilityMode;

    private DataPointResponse() {}
    /**
     * @return The path to the type definition of the capability (e.g. DTMI, OPC UA information model node id, etc.), for example dtmi:com:example:Robot:_contents:__prop1;1.
     * 
     */
    public Optional capabilityId() {
        return Optional.ofNullable(this.capabilityId);
    }
    /**
     * @return Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
     * 
     */
    public Optional dataPointConfiguration() {
        return Optional.ofNullable(this.dataPointConfiguration);
    }
    /**
     * @return The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.
     * 
     */
    public String dataSource() {
        return this.dataSource;
    }
    /**
     * @return The name of the data point.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return An indication of how the data point should be mapped to OpenTelemetry.
     * 
     */
    public Optional observabilityMode() {
        return Optional.ofNullable(this.observabilityMode);
    }

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

    public static Builder builder(DataPointResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String capabilityId;
        private @Nullable String dataPointConfiguration;
        private String dataSource;
        private @Nullable String name;
        private @Nullable String observabilityMode;
        public Builder() {}
        public Builder(DataPointResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.capabilityId = defaults.capabilityId;
    	      this.dataPointConfiguration = defaults.dataPointConfiguration;
    	      this.dataSource = defaults.dataSource;
    	      this.name = defaults.name;
    	      this.observabilityMode = defaults.observabilityMode;
        }

        @CustomType.Setter
        public Builder capabilityId(@Nullable String capabilityId) {

            this.capabilityId = capabilityId;
            return this;
        }
        @CustomType.Setter
        public Builder dataPointConfiguration(@Nullable String dataPointConfiguration) {

            this.dataPointConfiguration = dataPointConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder dataSource(String dataSource) {
            if (dataSource == null) {
              throw new MissingRequiredPropertyException("DataPointResponse", "dataSource");
            }
            this.dataSource = dataSource;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder observabilityMode(@Nullable String observabilityMode) {

            this.observabilityMode = observabilityMode;
            return this;
        }
        public DataPointResponse build() {
            final var _resultValue = new DataPointResponse();
            _resultValue.capabilityId = capabilityId;
            _resultValue.dataPointConfiguration = dataPointConfiguration;
            _resultValue.dataSource = dataSource;
            _resultValue.name = name;
            _resultValue.observabilityMode = observabilityMode;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy