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

com.pulumi.azurenative.deviceregistry.outputs.DiscoveredDataPointResponse Maven / Gradle / Ivy

// *** 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 DiscoveredDataPointResponse {
    /**
     * @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 UTC timestamp indicating when the data point was added or modified.
     * 
     */
    private @Nullable String lastUpdatedOn;
    /**
     * @return The name of the data point.
     * 
     */
    private String name;

    private DiscoveredDataPointResponse() {}
    /**
     * @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 UTC timestamp indicating when the data point was added or modified.
     * 
     */
    public Optional lastUpdatedOn() {
        return Optional.ofNullable(this.lastUpdatedOn);
    }
    /**
     * @return The name of the data point.
     * 
     */
    public String name() {
        return this.name;
    }

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

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

        @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("DiscoveredDataPointResponse", "dataSource");
            }
            this.dataSource = dataSource;
            return this;
        }
        @CustomType.Setter
        public Builder lastUpdatedOn(@Nullable String lastUpdatedOn) {

            this.lastUpdatedOn = lastUpdatedOn;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("DiscoveredDataPointResponse", "name");
            }
            this.name = name;
            return this;
        }
        public DiscoveredDataPointResponse build() {
            final var _resultValue = new DiscoveredDataPointResponse();
            _resultValue.dataPointConfiguration = dataPointConfiguration;
            _resultValue.dataSource = dataSource;
            _resultValue.lastUpdatedOn = lastUpdatedOn;
            _resultValue.name = name;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy