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

com.pulumi.azurenative.insights.inputs.EventHubDestinationArgs 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.insights.inputs;

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


public final class EventHubDestinationArgs extends com.pulumi.resources.ResourceArgs {

    public static final EventHubDestinationArgs Empty = new EventHubDestinationArgs();

    /**
     * The resource ID of the event hub.
     * 
     */
    @Import(name="eventHubResourceId")
    private @Nullable Output eventHubResourceId;

    /**
     * @return The resource ID of the event hub.
     * 
     */
    public Optional> eventHubResourceId() {
        return Optional.ofNullable(this.eventHubResourceId);
    }

    /**
     * A friendly name for the destination.
     * This name should be unique across all destinations (regardless of type) within the data collection rule.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return A friendly name for the destination.
     * This name should be unique across all destinations (regardless of type) within the data collection rule.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private EventHubDestinationArgs() {}

    private EventHubDestinationArgs(EventHubDestinationArgs $) {
        this.eventHubResourceId = $.eventHubResourceId;
        this.name = $.name;
    }

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

    public static final class Builder {
        private EventHubDestinationArgs $;

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

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

        /**
         * @param eventHubResourceId The resource ID of the event hub.
         * 
         * @return builder
         * 
         */
        public Builder eventHubResourceId(@Nullable Output eventHubResourceId) {
            $.eventHubResourceId = eventHubResourceId;
            return this;
        }

        /**
         * @param eventHubResourceId The resource ID of the event hub.
         * 
         * @return builder
         * 
         */
        public Builder eventHubResourceId(String eventHubResourceId) {
            return eventHubResourceId(Output.of(eventHubResourceId));
        }

        /**
         * @param name A friendly name for the destination.
         * This name should be unique across all destinations (regardless of type) within the data collection rule.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name A friendly name for the destination.
         * This name should be unique across all destinations (regardless of type) within the data collection rule.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public EventHubDestinationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy