
com.pulumi.azurenative.eventgrid.inputs.GetNamespaceTopicEventSubscriptionArgs 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetNamespaceTopicEventSubscriptionArgs extends com.pulumi.resources.InvokeArgs {
public static final GetNamespaceTopicEventSubscriptionArgs Empty = new GetNamespaceTopicEventSubscriptionArgs();
/**
* 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 namespace.
*
*/
@Import(name="namespaceName", required=true)
private Output namespaceName;
/**
* @return Name of the namespace.
*
*/
public Output namespaceName() {
return this.namespaceName;
}
/**
* 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;
}
/**
* Name of the namespace topic.
*
*/
@Import(name="topicName", required=true)
private Output topicName;
/**
* @return Name of the namespace topic.
*
*/
public Output topicName() {
return this.topicName;
}
private GetNamespaceTopicEventSubscriptionArgs() {}
private GetNamespaceTopicEventSubscriptionArgs(GetNamespaceTopicEventSubscriptionArgs $) {
this.eventSubscriptionName = $.eventSubscriptionName;
this.namespaceName = $.namespaceName;
this.resourceGroupName = $.resourceGroupName;
this.topicName = $.topicName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetNamespaceTopicEventSubscriptionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetNamespaceTopicEventSubscriptionArgs $;
public Builder() {
$ = new GetNamespaceTopicEventSubscriptionArgs();
}
public Builder(GetNamespaceTopicEventSubscriptionArgs defaults) {
$ = new GetNamespaceTopicEventSubscriptionArgs(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 namespaceName Name of the namespace.
*
* @return builder
*
*/
public Builder namespaceName(Output namespaceName) {
$.namespaceName = namespaceName;
return this;
}
/**
* @param namespaceName Name of the namespace.
*
* @return builder
*
*/
public Builder namespaceName(String namespaceName) {
return namespaceName(Output.of(namespaceName));
}
/**
* @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));
}
/**
* @param topicName Name of the namespace topic.
*
* @return builder
*
*/
public Builder topicName(Output topicName) {
$.topicName = topicName;
return this;
}
/**
* @param topicName Name of the namespace topic.
*
* @return builder
*
*/
public Builder topicName(String topicName) {
return topicName(Output.of(topicName));
}
public GetNamespaceTopicEventSubscriptionArgs build() {
if ($.eventSubscriptionName == null) {
throw new MissingRequiredPropertyException("GetNamespaceTopicEventSubscriptionArgs", "eventSubscriptionName");
}
if ($.namespaceName == null) {
throw new MissingRequiredPropertyException("GetNamespaceTopicEventSubscriptionArgs", "namespaceName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetNamespaceTopicEventSubscriptionArgs", "resourceGroupName");
}
if ($.topicName == null) {
throw new MissingRequiredPropertyException("GetNamespaceTopicEventSubscriptionArgs", "topicName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy