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

com.pulumi.azurenative.insights.outputs.DataImportSourcesResponseEventHub Maven / Gradle / Ivy

There is a newer version: 2.72.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.insights.outputs;

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

@CustomType
public final class DataImportSourcesResponseEventHub {
    /**
     * @return Event Hub consumer group name
     * 
     */
    private @Nullable String consumerGroup;
    /**
     * @return A friendly name for the data source.
     * This name should be unique across all data sources (regardless of type) within the data collection rule.
     * 
     */
    private @Nullable String name;
    /**
     * @return The stream to collect from EventHub
     * 
     */
    private @Nullable String stream;

    private DataImportSourcesResponseEventHub() {}
    /**
     * @return Event Hub consumer group name
     * 
     */
    public Optional consumerGroup() {
        return Optional.ofNullable(this.consumerGroup);
    }
    /**
     * @return A friendly name for the data source.
     * This name should be unique across all data sources (regardless of type) within the data collection rule.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return The stream to collect from EventHub
     * 
     */
    public Optional stream() {
        return Optional.ofNullable(this.stream);
    }

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

    public static Builder builder(DataImportSourcesResponseEventHub defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String consumerGroup;
        private @Nullable String name;
        private @Nullable String stream;
        public Builder() {}
        public Builder(DataImportSourcesResponseEventHub defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.consumerGroup = defaults.consumerGroup;
    	      this.name = defaults.name;
    	      this.stream = defaults.stream;
        }

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

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

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

            this.stream = stream;
            return this;
        }
        public DataImportSourcesResponseEventHub build() {
            final var _resultValue = new DataImportSourcesResponseEventHub();
            _resultValue.consumerGroup = consumerGroup;
            _resultValue.name = name;
            _resultValue.stream = stream;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy