com.pulumi.azure.servicebus.inputs.GetQueuePlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.servicebus.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetQueuePlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetQueuePlainArgs Empty = new GetQueuePlainArgs();
/**
* The name of this Service Bus Queue.
*
*/
@Import(name="name", required=true)
private String name;
/**
* @return The name of this Service Bus Queue.
*
*/
public String name() {
return this.name;
}
/**
* The ID of the ServiceBus Namespace where the Service Bus Queue exists.
*
*/
@Import(name="namespaceId")
private @Nullable String namespaceId;
/**
* @return The ID of the ServiceBus Namespace where the Service Bus Queue exists.
*
*/
public Optional namespaceId() {
return Optional.ofNullable(this.namespaceId);
}
/**
* @deprecated
* `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
*
*/
@Deprecated /* `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
@Import(name="namespaceName")
private @Nullable String namespaceName;
/**
* @deprecated
* `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
*
*/
@Deprecated /* `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
public Optional namespaceName() {
return Optional.ofNullable(this.namespaceName);
}
/**
* @deprecated
* `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
*
*/
@Deprecated /* `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
@Import(name="resourceGroupName")
private @Nullable String resourceGroupName;
/**
* @deprecated
* `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
*
*/
@Deprecated /* `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
public Optional resourceGroupName() {
return Optional.ofNullable(this.resourceGroupName);
}
private GetQueuePlainArgs() {}
private GetQueuePlainArgs(GetQueuePlainArgs $) {
this.name = $.name;
this.namespaceId = $.namespaceId;
this.namespaceName = $.namespaceName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetQueuePlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetQueuePlainArgs $;
public Builder() {
$ = new GetQueuePlainArgs();
}
public Builder(GetQueuePlainArgs defaults) {
$ = new GetQueuePlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param name The name of this Service Bus Queue.
*
* @return builder
*
*/
public Builder name(String name) {
$.name = name;
return this;
}
/**
* @param namespaceId The ID of the ServiceBus Namespace where the Service Bus Queue exists.
*
* @return builder
*
*/
public Builder namespaceId(@Nullable String namespaceId) {
$.namespaceId = namespaceId;
return this;
}
/**
* @return builder
*
* @deprecated
* `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
*
*/
@Deprecated /* `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
public Builder namespaceName(@Nullable String namespaceName) {
$.namespaceName = namespaceName;
return this;
}
/**
* @return builder
*
* @deprecated
* `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
*
*/
@Deprecated /* `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
public Builder resourceGroupName(@Nullable String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public GetQueuePlainArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("GetQueuePlainArgs", "name");
}
return $;
}
}
}