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

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

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


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

    public static final GetPartnerTopicEventSubscriptionFullUrlArgs Empty = new GetPartnerTopicEventSubscriptionFullUrlArgs();

    /**
     * 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 Output 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 Output eventSubscriptionName() {
        return this.eventSubscriptionName;
    }

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

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

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

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

    private GetPartnerTopicEventSubscriptionFullUrlArgs() {}

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

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

    public static final class Builder {
        private GetPartnerTopicEventSubscriptionFullUrlArgs $;

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

        public Builder(GetPartnerTopicEventSubscriptionFullUrlArgs defaults) {
            $ = new GetPartnerTopicEventSubscriptionFullUrlArgs(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(Output eventSubscriptionName) {
            $.eventSubscriptionName = eventSubscriptionName;
            return this;
        }

        /**
         * @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) {
            return eventSubscriptionName(Output.of(eventSubscriptionName));
        }

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

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy