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

com.pulumi.azure.servicebus.outputs.GetQueueAuthorizationRuleResult Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.servicebus.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetQueueAuthorizationRuleResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private Boolean listen;
    private Boolean manage;
    private String name;
    private @Nullable String namespaceName;
    /**
     * @return The Primary Connection String for the ServiceBus Queue authorization Rule.
     * 
     */
    private String primaryConnectionString;
    /**
     * @return The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired.
     * 
     */
    private String primaryConnectionStringAlias;
    /**
     * @return The Primary Key for the ServiceBus Queue authorization Rule.
     * 
     */
    private String primaryKey;
    private @Nullable String queueId;
    private @Nullable String queueName;
    private @Nullable String resourceGroupName;
    /**
     * @return The Secondary Connection String for the ServiceBus Queue authorization Rule.
     * 
     */
    private String secondaryConnectionString;
    /**
     * @return The alias Secondary Connection String for the ServiceBus Namespace
     * 
     */
    private String secondaryConnectionStringAlias;
    /**
     * @return The Secondary Key for the ServiceBus Queue authorization Rule.
     * 
     */
    private String secondaryKey;
    private Boolean send;

    private GetQueueAuthorizationRuleResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public Boolean listen() {
        return this.listen;
    }
    public Boolean manage() {
        return this.manage;
    }
    public String name() {
        return this.name;
    }
    public Optional namespaceName() {
        return Optional.ofNullable(this.namespaceName);
    }
    /**
     * @return The Primary Connection String for the ServiceBus Queue authorization Rule.
     * 
     */
    public String primaryConnectionString() {
        return this.primaryConnectionString;
    }
    /**
     * @return The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired.
     * 
     */
    public String primaryConnectionStringAlias() {
        return this.primaryConnectionStringAlias;
    }
    /**
     * @return The Primary Key for the ServiceBus Queue authorization Rule.
     * 
     */
    public String primaryKey() {
        return this.primaryKey;
    }
    public Optional queueId() {
        return Optional.ofNullable(this.queueId);
    }
    public Optional queueName() {
        return Optional.ofNullable(this.queueName);
    }
    public Optional resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }
    /**
     * @return The Secondary Connection String for the ServiceBus Queue authorization Rule.
     * 
     */
    public String secondaryConnectionString() {
        return this.secondaryConnectionString;
    }
    /**
     * @return The alias Secondary Connection String for the ServiceBus Namespace
     * 
     */
    public String secondaryConnectionStringAlias() {
        return this.secondaryConnectionStringAlias;
    }
    /**
     * @return The Secondary Key for the ServiceBus Queue authorization Rule.
     * 
     */
    public String secondaryKey() {
        return this.secondaryKey;
    }
    public Boolean send() {
        return this.send;
    }

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

    public static Builder builder(GetQueueAuthorizationRuleResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private Boolean listen;
        private Boolean manage;
        private String name;
        private @Nullable String namespaceName;
        private String primaryConnectionString;
        private String primaryConnectionStringAlias;
        private String primaryKey;
        private @Nullable String queueId;
        private @Nullable String queueName;
        private @Nullable String resourceGroupName;
        private String secondaryConnectionString;
        private String secondaryConnectionStringAlias;
        private String secondaryKey;
        private Boolean send;
        public Builder() {}
        public Builder(GetQueueAuthorizationRuleResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.listen = defaults.listen;
    	      this.manage = defaults.manage;
    	      this.name = defaults.name;
    	      this.namespaceName = defaults.namespaceName;
    	      this.primaryConnectionString = defaults.primaryConnectionString;
    	      this.primaryConnectionStringAlias = defaults.primaryConnectionStringAlias;
    	      this.primaryKey = defaults.primaryKey;
    	      this.queueId = defaults.queueId;
    	      this.queueName = defaults.queueName;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.secondaryConnectionString = defaults.secondaryConnectionString;
    	      this.secondaryConnectionStringAlias = defaults.secondaryConnectionStringAlias;
    	      this.secondaryKey = defaults.secondaryKey;
    	      this.send = defaults.send;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetQueueAuthorizationRuleResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder listen(Boolean listen) {
            if (listen == null) {
              throw new MissingRequiredPropertyException("GetQueueAuthorizationRuleResult", "listen");
            }
            this.listen = listen;
            return this;
        }
        @CustomType.Setter
        public Builder manage(Boolean manage) {
            if (manage == null) {
              throw new MissingRequiredPropertyException("GetQueueAuthorizationRuleResult", "manage");
            }
            this.manage = manage;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetQueueAuthorizationRuleResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder namespaceName(@Nullable String namespaceName) {

            this.namespaceName = namespaceName;
            return this;
        }
        @CustomType.Setter
        public Builder primaryConnectionString(String primaryConnectionString) {
            if (primaryConnectionString == null) {
              throw new MissingRequiredPropertyException("GetQueueAuthorizationRuleResult", "primaryConnectionString");
            }
            this.primaryConnectionString = primaryConnectionString;
            return this;
        }
        @CustomType.Setter
        public Builder primaryConnectionStringAlias(String primaryConnectionStringAlias) {
            if (primaryConnectionStringAlias == null) {
              throw new MissingRequiredPropertyException("GetQueueAuthorizationRuleResult", "primaryConnectionStringAlias");
            }
            this.primaryConnectionStringAlias = primaryConnectionStringAlias;
            return this;
        }
        @CustomType.Setter
        public Builder primaryKey(String primaryKey) {
            if (primaryKey == null) {
              throw new MissingRequiredPropertyException("GetQueueAuthorizationRuleResult", "primaryKey");
            }
            this.primaryKey = primaryKey;
            return this;
        }
        @CustomType.Setter
        public Builder queueId(@Nullable String queueId) {

            this.queueId = queueId;
            return this;
        }
        @CustomType.Setter
        public Builder queueName(@Nullable String queueName) {

            this.queueName = queueName;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(@Nullable String resourceGroupName) {

            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder secondaryConnectionString(String secondaryConnectionString) {
            if (secondaryConnectionString == null) {
              throw new MissingRequiredPropertyException("GetQueueAuthorizationRuleResult", "secondaryConnectionString");
            }
            this.secondaryConnectionString = secondaryConnectionString;
            return this;
        }
        @CustomType.Setter
        public Builder secondaryConnectionStringAlias(String secondaryConnectionStringAlias) {
            if (secondaryConnectionStringAlias == null) {
              throw new MissingRequiredPropertyException("GetQueueAuthorizationRuleResult", "secondaryConnectionStringAlias");
            }
            this.secondaryConnectionStringAlias = secondaryConnectionStringAlias;
            return this;
        }
        @CustomType.Setter
        public Builder secondaryKey(String secondaryKey) {
            if (secondaryKey == null) {
              throw new MissingRequiredPropertyException("GetQueueAuthorizationRuleResult", "secondaryKey");
            }
            this.secondaryKey = secondaryKey;
            return this;
        }
        @CustomType.Setter
        public Builder send(Boolean send) {
            if (send == null) {
              throw new MissingRequiredPropertyException("GetQueueAuthorizationRuleResult", "send");
            }
            this.send = send;
            return this;
        }
        public GetQueueAuthorizationRuleResult build() {
            final var _resultValue = new GetQueueAuthorizationRuleResult();
            _resultValue.id = id;
            _resultValue.listen = listen;
            _resultValue.manage = manage;
            _resultValue.name = name;
            _resultValue.namespaceName = namespaceName;
            _resultValue.primaryConnectionString = primaryConnectionString;
            _resultValue.primaryConnectionStringAlias = primaryConnectionStringAlias;
            _resultValue.primaryKey = primaryKey;
            _resultValue.queueId = queueId;
            _resultValue.queueName = queueName;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.secondaryConnectionString = secondaryConnectionString;
            _resultValue.secondaryConnectionStringAlias = secondaryConnectionStringAlias;
            _resultValue.secondaryKey = secondaryKey;
            _resultValue.send = send;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy