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

com.pulumi.azurenative.iotoperationsdataprocessor.DatasetArgs 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.iotoperationsdataprocessor;

import com.pulumi.azurenative.iotoperationsdataprocessor.inputs.DatasetPropertyKeyArgs;
import com.pulumi.azurenative.iotoperationsdataprocessor.inputs.ExtendedLocationArgs;
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 DatasetArgs extends com.pulumi.resources.ResourceArgs {

    public static final DatasetArgs Empty = new DatasetArgs();

    /**
     * Name of dataset.
     * 
     */
    @Import(name="datasetName")
    private @Nullable Output datasetName;

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

    /**
     * Detailed description of the Dataset.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Detailed description of the Dataset.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Edge location of the resource.
     * 
     */
    @Import(name="extendedLocation", required=true)
    private Output extendedLocation;

    /**
     * @return Edge location of the resource.
     * 
     */
    public Output extendedLocation() {
        return this.extendedLocation;
    }

    /**
     * Name of instance.
     * 
     */
    @Import(name="instanceName", required=true)
    private Output instanceName;

    /**
     * @return Name of instance.
     * 
     */
    public Output instanceName() {
        return this.instanceName;
    }

    /**
     * List of keys that can be used for joining on enrich.
     * 
     */
    @Import(name="keys")
    private @Nullable Output> keys;

    /**
     * @return List of keys that can be used for joining on enrich.
     * 
     */
    public Optional>> keys() {
        return Optional.ofNullable(this.keys);
    }

    /**
     * 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);
    }

    /**
     * Path to the payload in the message. Enrich will add only the payload to the enriched message, other fields will not be kept except for in the indexes.
     * 
     */
    @Import(name="payload")
    private @Nullable Output payload;

    /**
     * @return Path to the payload in the message. Enrich will add only the payload to the enriched message, other fields will not be kept except for in the indexes.
     * 
     */
    public Optional> payload() {
        return Optional.ofNullable(this.payload);
    }

    /**
     * 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);
    }

    /**
     * Path to an RFC3339 timestamp in the message. If no path is provided, the ingestion time of the record is used for time-based joins.
     * 
     */
    @Import(name="timestamp")
    private @Nullable Output timestamp;

    /**
     * @return Path to an RFC3339 timestamp in the message. If no path is provided, the ingestion time of the record is used for time-based joins.
     * 
     */
    public Optional> timestamp() {
        return Optional.ofNullable(this.timestamp);
    }

    /**
     * Time to live for individual records.
     * 
     */
    @Import(name="ttl")
    private @Nullable Output ttl;

    /**
     * @return Time to live for individual records.
     * 
     */
    public Optional> ttl() {
        return Optional.ofNullable(this.ttl);
    }

    private DatasetArgs() {}

    private DatasetArgs(DatasetArgs $) {
        this.datasetName = $.datasetName;
        this.description = $.description;
        this.extendedLocation = $.extendedLocation;
        this.instanceName = $.instanceName;
        this.keys = $.keys;
        this.location = $.location;
        this.payload = $.payload;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.timestamp = $.timestamp;
        this.ttl = $.ttl;
    }

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

    public static final class Builder {
        private DatasetArgs $;

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

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

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

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

        /**
         * @param description Detailed description of the Dataset.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Detailed description of the Dataset.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param extendedLocation Edge location of the resource.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocation(Output extendedLocation) {
            $.extendedLocation = extendedLocation;
            return this;
        }

        /**
         * @param extendedLocation Edge location of the resource.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocation(ExtendedLocationArgs extendedLocation) {
            return extendedLocation(Output.of(extendedLocation));
        }

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

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

        /**
         * @param keys List of keys that can be used for joining on enrich.
         * 
         * @return builder
         * 
         */
        public Builder keys(@Nullable Output> keys) {
            $.keys = keys;
            return this;
        }

        /**
         * @param keys List of keys that can be used for joining on enrich.
         * 
         * @return builder
         * 
         */
        public Builder keys(Map keys) {
            return keys(Output.of(keys));
        }

        /**
         * @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 payload Path to the payload in the message. Enrich will add only the payload to the enriched message, other fields will not be kept except for in the indexes.
         * 
         * @return builder
         * 
         */
        public Builder payload(@Nullable Output payload) {
            $.payload = payload;
            return this;
        }

        /**
         * @param payload Path to the payload in the message. Enrich will add only the payload to the enriched message, other fields will not be kept except for in the indexes.
         * 
         * @return builder
         * 
         */
        public Builder payload(String payload) {
            return payload(Output.of(payload));
        }

        /**
         * @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 timestamp Path to an RFC3339 timestamp in the message. If no path is provided, the ingestion time of the record is used for time-based joins.
         * 
         * @return builder
         * 
         */
        public Builder timestamp(@Nullable Output timestamp) {
            $.timestamp = timestamp;
            return this;
        }

        /**
         * @param timestamp Path to an RFC3339 timestamp in the message. If no path is provided, the ingestion time of the record is used for time-based joins.
         * 
         * @return builder
         * 
         */
        public Builder timestamp(String timestamp) {
            return timestamp(Output.of(timestamp));
        }

        /**
         * @param ttl Time to live for individual records.
         * 
         * @return builder
         * 
         */
        public Builder ttl(@Nullable Output ttl) {
            $.ttl = ttl;
            return this;
        }

        /**
         * @param ttl Time to live for individual records.
         * 
         * @return builder
         * 
         */
        public Builder ttl(String ttl) {
            return ttl(Output.of(ttl));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy