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

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

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


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

    public static final GetPartnerTopicEventSubscriptionFullUrlPlainArgs Empty = new GetPartnerTopicEventSubscriptionFullUrlPlainArgs();

    /**
     * Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.
     * 
     */
    @Import(name="eventSubscriptionName", required=true)
    private String eventSubscriptionName;

    /**
     * @return Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.
     * 
     */
    public String eventSubscriptionName() {
        return this.eventSubscriptionName;
    }

    /**
     * Name of the partner topic.
     * 
     */
    @Import(name="partnerTopicName", required=true)
    private String partnerTopicName;

    /**
     * @return Name of the partner topic.
     * 
     */
    public String partnerTopicName() {
        return this.partnerTopicName;
    }

    /**
     * The name of the resource group within the user's subscription.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group within the user's subscription.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetPartnerTopicEventSubscriptionFullUrlPlainArgs() {}

    private GetPartnerTopicEventSubscriptionFullUrlPlainArgs(GetPartnerTopicEventSubscriptionFullUrlPlainArgs $) {
        this.eventSubscriptionName = $.eventSubscriptionName;
        this.partnerTopicName = $.partnerTopicName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetPartnerTopicEventSubscriptionFullUrlPlainArgs $;

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

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

        /**
         * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.
         * 
         * @return builder
         * 
         */
        public Builder eventSubscriptionName(String eventSubscriptionName) {
            $.eventSubscriptionName = eventSubscriptionName;
            return this;
        }

        /**
         * @param partnerTopicName Name of the partner topic.
         * 
         * @return builder
         * 
         */
        public Builder partnerTopicName(String partnerTopicName) {
            $.partnerTopicName = partnerTopicName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group within the user's subscription.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetPartnerTopicEventSubscriptionFullUrlPlainArgs build() {
            if ($.eventSubscriptionName == null) {
                throw new MissingRequiredPropertyException("GetPartnerTopicEventSubscriptionFullUrlPlainArgs", "eventSubscriptionName");
            }
            if ($.partnerTopicName == null) {
                throw new MissingRequiredPropertyException("GetPartnerTopicEventSubscriptionFullUrlPlainArgs", "partnerTopicName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetPartnerTopicEventSubscriptionFullUrlPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy