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

com.pulumi.azurenative.eventgrid.inputs.GetEventSubscriptionDeliveryAttributesPlainArgs 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.eventgrid.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetEventSubscriptionDeliveryAttributesPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetEventSubscriptionDeliveryAttributesPlainArgs Empty = new GetEventSubscriptionDeliveryAttributesPlainArgs();

    /**
     * Name of the event subscription.
     * 
     */
    @Import(name="eventSubscriptionName", required=true)
    private String eventSubscriptionName;

    /**
     * @return Name of the event subscription.
     * 
     */
    public String eventSubscriptionName() {
        return this.eventSubscriptionName;
    }

    /**
     * The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
     * 
     */
    @Import(name="scope", required=true)
    private String scope;

    /**
     * @return The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
     * 
     */
    public String scope() {
        return this.scope;
    }

    private GetEventSubscriptionDeliveryAttributesPlainArgs() {}

    private GetEventSubscriptionDeliveryAttributesPlainArgs(GetEventSubscriptionDeliveryAttributesPlainArgs $) {
        this.eventSubscriptionName = $.eventSubscriptionName;
        this.scope = $.scope;
    }

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

    public static final class Builder {
        private GetEventSubscriptionDeliveryAttributesPlainArgs $;

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

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

        /**
         * @param eventSubscriptionName Name of the event subscription.
         * 
         * @return builder
         * 
         */
        public Builder eventSubscriptionName(String eventSubscriptionName) {
            $.eventSubscriptionName = eventSubscriptionName;
            return this;
        }

        /**
         * @param scope The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
         * 
         * @return builder
         * 
         */
        public Builder scope(String scope) {
            $.scope = scope;
            return this;
        }

        public GetEventSubscriptionDeliveryAttributesPlainArgs build() {
            if ($.eventSubscriptionName == null) {
                throw new MissingRequiredPropertyException("GetEventSubscriptionDeliveryAttributesPlainArgs", "eventSubscriptionName");
            }
            if ($.scope == null) {
                throw new MissingRequiredPropertyException("GetEventSubscriptionDeliveryAttributesPlainArgs", "scope");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy