com.pulumi.azurenative.eventhub.inputs.GetEventHubPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.eventhub.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetEventHubPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetEventHubPlainArgs Empty = new GetEventHubPlainArgs();
/**
* The Event Hub name
*
*/
@Import(name="eventHubName", required=true)
private String eventHubName;
/**
* @return The Event Hub name
*
*/
public String eventHubName() {
return this.eventHubName;
}
/**
* The Namespace name
*
*/
@Import(name="namespaceName", required=true)
private String namespaceName;
/**
* @return The Namespace name
*
*/
public String namespaceName() {
return this.namespaceName;
}
/**
* Name of the resource group within the azure subscription.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return Name of the resource group within the azure subscription.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
private GetEventHubPlainArgs() {}
private GetEventHubPlainArgs(GetEventHubPlainArgs $) {
this.eventHubName = $.eventHubName;
this.namespaceName = $.namespaceName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetEventHubPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetEventHubPlainArgs $;
public Builder() {
$ = new GetEventHubPlainArgs();
}
public Builder(GetEventHubPlainArgs defaults) {
$ = new GetEventHubPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param eventHubName The Event Hub name
*
* @return builder
*
*/
public Builder eventHubName(String eventHubName) {
$.eventHubName = eventHubName;
return this;
}
/**
* @param namespaceName The Namespace name
*
* @return builder
*
*/
public Builder namespaceName(String namespaceName) {
$.namespaceName = namespaceName;
return this;
}
/**
* @param resourceGroupName Name of the resource group within the azure subscription.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public GetEventHubPlainArgs build() {
if ($.eventHubName == null) {
throw new MissingRequiredPropertyException("GetEventHubPlainArgs", "eventHubName");
}
if ($.namespaceName == null) {
throw new MissingRequiredPropertyException("GetEventHubPlainArgs", "namespaceName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetEventHubPlainArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy