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

com.pulumi.azure.eventhub.outputs.GetEventhubNamespaceResult 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.eventhub.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetEventhubNamespaceResult {
    /**
     * @return Is Auto Inflate enabled for the EventHub Namespace?
     * 
     */
    private Boolean autoInflateEnabled;
    /**
     * @return The Capacity / Throughput Units for a `Standard` SKU namespace.
     * 
     */
    private Integer capacity;
    /**
     * @return The ID of the EventHub Dedicated Cluster where this Namespace exists.
     * 
     */
    private String dedicatedClusterId;
    /**
     * @return The primary connection string for the authorization
     * rule `RootManageSharedAccessKey`.
     * 
     */
    private String defaultPrimaryConnectionString;
    /**
     * @return The alias of the primary connection string for the authorization
     * rule `RootManageSharedAccessKey`.
     * 
     */
    private String defaultPrimaryConnectionStringAlias;
    /**
     * @return The primary access key for the authorization rule `RootManageSharedAccessKey`.
     * 
     */
    private String defaultPrimaryKey;
    /**
     * @return The secondary connection string for the
     * authorization rule `RootManageSharedAccessKey`.
     * 
     */
    private String defaultSecondaryConnectionString;
    /**
     * @return The alias of the secondary connection string for the
     * authorization rule `RootManageSharedAccessKey`.
     * 
     */
    private String defaultSecondaryConnectionStringAlias;
    /**
     * @return The secondary access key for the authorization rule `RootManageSharedAccessKey`.
     * 
     */
    private String defaultSecondaryKey;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private Boolean kafkaEnabled;
    /**
     * @return The Azure location where the EventHub Namespace exists
     * 
     */
    private String location;
    /**
     * @return Specifies the maximum number of throughput units when Auto Inflate is Enabled.
     * 
     */
    private Integer maximumThroughputUnits;
    private String name;
    private String resourceGroupName;
    /**
     * @return Defines which tier to use.
     * 
     */
    private String sku;
    /**
     * @return A mapping of tags to assign to the EventHub Namespace.
     * 
     */
    private Map tags;

    private GetEventhubNamespaceResult() {}
    /**
     * @return Is Auto Inflate enabled for the EventHub Namespace?
     * 
     */
    public Boolean autoInflateEnabled() {
        return this.autoInflateEnabled;
    }
    /**
     * @return The Capacity / Throughput Units for a `Standard` SKU namespace.
     * 
     */
    public Integer capacity() {
        return this.capacity;
    }
    /**
     * @return The ID of the EventHub Dedicated Cluster where this Namespace exists.
     * 
     */
    public String dedicatedClusterId() {
        return this.dedicatedClusterId;
    }
    /**
     * @return The primary connection string for the authorization
     * rule `RootManageSharedAccessKey`.
     * 
     */
    public String defaultPrimaryConnectionString() {
        return this.defaultPrimaryConnectionString;
    }
    /**
     * @return The alias of the primary connection string for the authorization
     * rule `RootManageSharedAccessKey`.
     * 
     */
    public String defaultPrimaryConnectionStringAlias() {
        return this.defaultPrimaryConnectionStringAlias;
    }
    /**
     * @return The primary access key for the authorization rule `RootManageSharedAccessKey`.
     * 
     */
    public String defaultPrimaryKey() {
        return this.defaultPrimaryKey;
    }
    /**
     * @return The secondary connection string for the
     * authorization rule `RootManageSharedAccessKey`.
     * 
     */
    public String defaultSecondaryConnectionString() {
        return this.defaultSecondaryConnectionString;
    }
    /**
     * @return The alias of the secondary connection string for the
     * authorization rule `RootManageSharedAccessKey`.
     * 
     */
    public String defaultSecondaryConnectionStringAlias() {
        return this.defaultSecondaryConnectionStringAlias;
    }
    /**
     * @return The secondary access key for the authorization rule `RootManageSharedAccessKey`.
     * 
     */
    public String defaultSecondaryKey() {
        return this.defaultSecondaryKey;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public Boolean kafkaEnabled() {
        return this.kafkaEnabled;
    }
    /**
     * @return The Azure location where the EventHub Namespace exists
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return Specifies the maximum number of throughput units when Auto Inflate is Enabled.
     * 
     */
    public Integer maximumThroughputUnits() {
        return this.maximumThroughputUnits;
    }
    public String name() {
        return this.name;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return Defines which tier to use.
     * 
     */
    public String sku() {
        return this.sku;
    }
    /**
     * @return A mapping of tags to assign to the EventHub Namespace.
     * 
     */
    public Map tags() {
        return this.tags;
    }

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

    public static Builder builder(GetEventhubNamespaceResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean autoInflateEnabled;
        private Integer capacity;
        private String dedicatedClusterId;
        private String defaultPrimaryConnectionString;
        private String defaultPrimaryConnectionStringAlias;
        private String defaultPrimaryKey;
        private String defaultSecondaryConnectionString;
        private String defaultSecondaryConnectionStringAlias;
        private String defaultSecondaryKey;
        private String id;
        private Boolean kafkaEnabled;
        private String location;
        private Integer maximumThroughputUnits;
        private String name;
        private String resourceGroupName;
        private String sku;
        private Map tags;
        public Builder() {}
        public Builder(GetEventhubNamespaceResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.autoInflateEnabled = defaults.autoInflateEnabled;
    	      this.capacity = defaults.capacity;
    	      this.dedicatedClusterId = defaults.dedicatedClusterId;
    	      this.defaultPrimaryConnectionString = defaults.defaultPrimaryConnectionString;
    	      this.defaultPrimaryConnectionStringAlias = defaults.defaultPrimaryConnectionStringAlias;
    	      this.defaultPrimaryKey = defaults.defaultPrimaryKey;
    	      this.defaultSecondaryConnectionString = defaults.defaultSecondaryConnectionString;
    	      this.defaultSecondaryConnectionStringAlias = defaults.defaultSecondaryConnectionStringAlias;
    	      this.defaultSecondaryKey = defaults.defaultSecondaryKey;
    	      this.id = defaults.id;
    	      this.kafkaEnabled = defaults.kafkaEnabled;
    	      this.location = defaults.location;
    	      this.maximumThroughputUnits = defaults.maximumThroughputUnits;
    	      this.name = defaults.name;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.sku = defaults.sku;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder autoInflateEnabled(Boolean autoInflateEnabled) {
            if (autoInflateEnabled == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "autoInflateEnabled");
            }
            this.autoInflateEnabled = autoInflateEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder capacity(Integer capacity) {
            if (capacity == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "capacity");
            }
            this.capacity = capacity;
            return this;
        }
        @CustomType.Setter
        public Builder dedicatedClusterId(String dedicatedClusterId) {
            if (dedicatedClusterId == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "dedicatedClusterId");
            }
            this.dedicatedClusterId = dedicatedClusterId;
            return this;
        }
        @CustomType.Setter
        public Builder defaultPrimaryConnectionString(String defaultPrimaryConnectionString) {
            if (defaultPrimaryConnectionString == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "defaultPrimaryConnectionString");
            }
            this.defaultPrimaryConnectionString = defaultPrimaryConnectionString;
            return this;
        }
        @CustomType.Setter
        public Builder defaultPrimaryConnectionStringAlias(String defaultPrimaryConnectionStringAlias) {
            if (defaultPrimaryConnectionStringAlias == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "defaultPrimaryConnectionStringAlias");
            }
            this.defaultPrimaryConnectionStringAlias = defaultPrimaryConnectionStringAlias;
            return this;
        }
        @CustomType.Setter
        public Builder defaultPrimaryKey(String defaultPrimaryKey) {
            if (defaultPrimaryKey == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "defaultPrimaryKey");
            }
            this.defaultPrimaryKey = defaultPrimaryKey;
            return this;
        }
        @CustomType.Setter
        public Builder defaultSecondaryConnectionString(String defaultSecondaryConnectionString) {
            if (defaultSecondaryConnectionString == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "defaultSecondaryConnectionString");
            }
            this.defaultSecondaryConnectionString = defaultSecondaryConnectionString;
            return this;
        }
        @CustomType.Setter
        public Builder defaultSecondaryConnectionStringAlias(String defaultSecondaryConnectionStringAlias) {
            if (defaultSecondaryConnectionStringAlias == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "defaultSecondaryConnectionStringAlias");
            }
            this.defaultSecondaryConnectionStringAlias = defaultSecondaryConnectionStringAlias;
            return this;
        }
        @CustomType.Setter
        public Builder defaultSecondaryKey(String defaultSecondaryKey) {
            if (defaultSecondaryKey == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "defaultSecondaryKey");
            }
            this.defaultSecondaryKey = defaultSecondaryKey;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder kafkaEnabled(Boolean kafkaEnabled) {
            if (kafkaEnabled == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "kafkaEnabled");
            }
            this.kafkaEnabled = kafkaEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder maximumThroughputUnits(Integer maximumThroughputUnits) {
            if (maximumThroughputUnits == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "maximumThroughputUnits");
            }
            this.maximumThroughputUnits = maximumThroughputUnits;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            if (resourceGroupName == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "resourceGroupName");
            }
            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder sku(String sku) {
            if (sku == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "sku");
            }
            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetEventhubNamespaceResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        public GetEventhubNamespaceResult build() {
            final var _resultValue = new GetEventhubNamespaceResult();
            _resultValue.autoInflateEnabled = autoInflateEnabled;
            _resultValue.capacity = capacity;
            _resultValue.dedicatedClusterId = dedicatedClusterId;
            _resultValue.defaultPrimaryConnectionString = defaultPrimaryConnectionString;
            _resultValue.defaultPrimaryConnectionStringAlias = defaultPrimaryConnectionStringAlias;
            _resultValue.defaultPrimaryKey = defaultPrimaryKey;
            _resultValue.defaultSecondaryConnectionString = defaultSecondaryConnectionString;
            _resultValue.defaultSecondaryConnectionStringAlias = defaultSecondaryConnectionStringAlias;
            _resultValue.defaultSecondaryKey = defaultSecondaryKey;
            _resultValue.id = id;
            _resultValue.kafkaEnabled = kafkaEnabled;
            _resultValue.location = location;
            _resultValue.maximumThroughputUnits = maximumThroughputUnits;
            _resultValue.name = name;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.sku = sku;
            _resultValue.tags = tags;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy