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

com.pulumi.azurenative.eventhub.outputs.GetNamespaceResult Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.eventhub.outputs;

import com.pulumi.azurenative.eventhub.outputs.EncryptionResponse;
import com.pulumi.azurenative.eventhub.outputs.IdentityResponse;
import com.pulumi.azurenative.eventhub.outputs.PrivateEndpointConnectionResponse;
import com.pulumi.azurenative.eventhub.outputs.SkuResponse;
import com.pulumi.azurenative.eventhub.outputs.SystemDataResponse;
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.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetNamespaceResult {
    /**
     * @return Alternate name specified when alias and namespace names are same.
     * 
     */
    private @Nullable String alternateName;
    /**
     * @return Cluster ARM ID of the Namespace.
     * 
     */
    private @Nullable String clusterArmId;
    /**
     * @return The time the Namespace was created.
     * 
     */
    private String createdAt;
    /**
     * @return This property disables SAS authentication for the Event Hubs namespace.
     * 
     */
    private @Nullable Boolean disableLocalAuth;
    /**
     * @return Properties of BYOK Encryption description
     * 
     */
    private @Nullable EncryptionResponse encryption;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return Properties of BYOK Identity description
     * 
     */
    private @Nullable IdentityResponse identity;
    /**
     * @return Value that indicates whether AutoInflate is enabled for eventhub namespace.
     * 
     */
    private @Nullable Boolean isAutoInflateEnabled;
    /**
     * @return Value that indicates whether Kafka is enabled for eventhub namespace.
     * 
     */
    private @Nullable Boolean kafkaEnabled;
    /**
     * @return Resource location.
     * 
     */
    private @Nullable String location;
    /**
     * @return Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true)
     * 
     */
    private @Nullable Integer maximumThroughputUnits;
    /**
     * @return Identifier for Azure Insights metrics.
     * 
     */
    private String metricId;
    /**
     * @return The minimum TLS version for the cluster to support, e.g. '1.2'
     * 
     */
    private @Nullable String minimumTlsVersion;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return List of private endpoint connections.
     * 
     */
    private @Nullable List privateEndpointConnections;
    /**
     * @return Provisioning state of the Namespace.
     * 
     */
    private String provisioningState;
    /**
     * @return This determines if traffic is allowed over public network. By default it is enabled.
     * 
     */
    private @Nullable String publicNetworkAccess;
    /**
     * @return Endpoint you can use to perform Service Bus operations.
     * 
     */
    private String serviceBusEndpoint;
    /**
     * @return Properties of sku resource
     * 
     */
    private @Nullable SkuResponse sku;
    /**
     * @return Status of the Namespace.
     * 
     */
    private String status;
    /**
     * @return The system meta data relating to this resource.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;
    /**
     * @return The time the Namespace was updated.
     * 
     */
    private String updatedAt;
    /**
     * @return Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.
     * 
     */
    private @Nullable Boolean zoneRedundant;

    private GetNamespaceResult() {}
    /**
     * @return Alternate name specified when alias and namespace names are same.
     * 
     */
    public Optional alternateName() {
        return Optional.ofNullable(this.alternateName);
    }
    /**
     * @return Cluster ARM ID of the Namespace.
     * 
     */
    public Optional clusterArmId() {
        return Optional.ofNullable(this.clusterArmId);
    }
    /**
     * @return The time the Namespace was created.
     * 
     */
    public String createdAt() {
        return this.createdAt;
    }
    /**
     * @return This property disables SAS authentication for the Event Hubs namespace.
     * 
     */
    public Optional disableLocalAuth() {
        return Optional.ofNullable(this.disableLocalAuth);
    }
    /**
     * @return Properties of BYOK Encryption description
     * 
     */
    public Optional encryption() {
        return Optional.ofNullable(this.encryption);
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Properties of BYOK Identity description
     * 
     */
    public Optional identity() {
        return Optional.ofNullable(this.identity);
    }
    /**
     * @return Value that indicates whether AutoInflate is enabled for eventhub namespace.
     * 
     */
    public Optional isAutoInflateEnabled() {
        return Optional.ofNullable(this.isAutoInflateEnabled);
    }
    /**
     * @return Value that indicates whether Kafka is enabled for eventhub namespace.
     * 
     */
    public Optional kafkaEnabled() {
        return Optional.ofNullable(this.kafkaEnabled);
    }
    /**
     * @return Resource location.
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }
    /**
     * @return Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true)
     * 
     */
    public Optional maximumThroughputUnits() {
        return Optional.ofNullable(this.maximumThroughputUnits);
    }
    /**
     * @return Identifier for Azure Insights metrics.
     * 
     */
    public String metricId() {
        return this.metricId;
    }
    /**
     * @return The minimum TLS version for the cluster to support, e.g. '1.2'
     * 
     */
    public Optional minimumTlsVersion() {
        return Optional.ofNullable(this.minimumTlsVersion);
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return List of private endpoint connections.
     * 
     */
    public List privateEndpointConnections() {
        return this.privateEndpointConnections == null ? List.of() : this.privateEndpointConnections;
    }
    /**
     * @return Provisioning state of the Namespace.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return This determines if traffic is allowed over public network. By default it is enabled.
     * 
     */
    public Optional publicNetworkAccess() {
        return Optional.ofNullable(this.publicNetworkAccess);
    }
    /**
     * @return Endpoint you can use to perform Service Bus operations.
     * 
     */
    public String serviceBusEndpoint() {
        return this.serviceBusEndpoint;
    }
    /**
     * @return Properties of sku resource
     * 
     */
    public Optional sku() {
        return Optional.ofNullable(this.sku);
    }
    /**
     * @return Status of the Namespace.
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return The system meta data relating to this resource.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return The time the Namespace was updated.
     * 
     */
    public String updatedAt() {
        return this.updatedAt;
    }
    /**
     * @return Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.
     * 
     */
    public Optional zoneRedundant() {
        return Optional.ofNullable(this.zoneRedundant);
    }

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

    public static Builder builder(GetNamespaceResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String alternateName;
        private @Nullable String clusterArmId;
        private String createdAt;
        private @Nullable Boolean disableLocalAuth;
        private @Nullable EncryptionResponse encryption;
        private String id;
        private @Nullable IdentityResponse identity;
        private @Nullable Boolean isAutoInflateEnabled;
        private @Nullable Boolean kafkaEnabled;
        private @Nullable String location;
        private @Nullable Integer maximumThroughputUnits;
        private String metricId;
        private @Nullable String minimumTlsVersion;
        private String name;
        private @Nullable List privateEndpointConnections;
        private String provisioningState;
        private @Nullable String publicNetworkAccess;
        private String serviceBusEndpoint;
        private @Nullable SkuResponse sku;
        private String status;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        private String updatedAt;
        private @Nullable Boolean zoneRedundant;
        public Builder() {}
        public Builder(GetNamespaceResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.alternateName = defaults.alternateName;
    	      this.clusterArmId = defaults.clusterArmId;
    	      this.createdAt = defaults.createdAt;
    	      this.disableLocalAuth = defaults.disableLocalAuth;
    	      this.encryption = defaults.encryption;
    	      this.id = defaults.id;
    	      this.identity = defaults.identity;
    	      this.isAutoInflateEnabled = defaults.isAutoInflateEnabled;
    	      this.kafkaEnabled = defaults.kafkaEnabled;
    	      this.location = defaults.location;
    	      this.maximumThroughputUnits = defaults.maximumThroughputUnits;
    	      this.metricId = defaults.metricId;
    	      this.minimumTlsVersion = defaults.minimumTlsVersion;
    	      this.name = defaults.name;
    	      this.privateEndpointConnections = defaults.privateEndpointConnections;
    	      this.provisioningState = defaults.provisioningState;
    	      this.publicNetworkAccess = defaults.publicNetworkAccess;
    	      this.serviceBusEndpoint = defaults.serviceBusEndpoint;
    	      this.sku = defaults.sku;
    	      this.status = defaults.status;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
    	      this.updatedAt = defaults.updatedAt;
    	      this.zoneRedundant = defaults.zoneRedundant;
        }

        @CustomType.Setter
        public Builder alternateName(@Nullable String alternateName) {

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

            this.clusterArmId = clusterArmId;
            return this;
        }
        @CustomType.Setter
        public Builder createdAt(String createdAt) {
            if (createdAt == null) {
              throw new MissingRequiredPropertyException("GetNamespaceResult", "createdAt");
            }
            this.createdAt = createdAt;
            return this;
        }
        @CustomType.Setter
        public Builder disableLocalAuth(@Nullable Boolean disableLocalAuth) {

            this.disableLocalAuth = disableLocalAuth;
            return this;
        }
        @CustomType.Setter
        public Builder encryption(@Nullable EncryptionResponse encryption) {

            this.encryption = encryption;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetNamespaceResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder identity(@Nullable IdentityResponse identity) {

            this.identity = identity;
            return this;
        }
        @CustomType.Setter
        public Builder isAutoInflateEnabled(@Nullable Boolean isAutoInflateEnabled) {

            this.isAutoInflateEnabled = isAutoInflateEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder kafkaEnabled(@Nullable Boolean kafkaEnabled) {

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

            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder maximumThroughputUnits(@Nullable Integer maximumThroughputUnits) {

            this.maximumThroughputUnits = maximumThroughputUnits;
            return this;
        }
        @CustomType.Setter
        public Builder metricId(String metricId) {
            if (metricId == null) {
              throw new MissingRequiredPropertyException("GetNamespaceResult", "metricId");
            }
            this.metricId = metricId;
            return this;
        }
        @CustomType.Setter
        public Builder minimumTlsVersion(@Nullable String minimumTlsVersion) {

            this.minimumTlsVersion = minimumTlsVersion;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetNamespaceResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder privateEndpointConnections(@Nullable List privateEndpointConnections) {

            this.privateEndpointConnections = privateEndpointConnections;
            return this;
        }
        public Builder privateEndpointConnections(PrivateEndpointConnectionResponse... privateEndpointConnections) {
            return privateEndpointConnections(List.of(privateEndpointConnections));
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetNamespaceResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder publicNetworkAccess(@Nullable String publicNetworkAccess) {

            this.publicNetworkAccess = publicNetworkAccess;
            return this;
        }
        @CustomType.Setter
        public Builder serviceBusEndpoint(String serviceBusEndpoint) {
            if (serviceBusEndpoint == null) {
              throw new MissingRequiredPropertyException("GetNamespaceResult", "serviceBusEndpoint");
            }
            this.serviceBusEndpoint = serviceBusEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder sku(@Nullable SkuResponse sku) {

            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetNamespaceResult", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetNamespaceResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetNamespaceResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder updatedAt(String updatedAt) {
            if (updatedAt == null) {
              throw new MissingRequiredPropertyException("GetNamespaceResult", "updatedAt");
            }
            this.updatedAt = updatedAt;
            return this;
        }
        @CustomType.Setter
        public Builder zoneRedundant(@Nullable Boolean zoneRedundant) {

            this.zoneRedundant = zoneRedundant;
            return this;
        }
        public GetNamespaceResult build() {
            final var _resultValue = new GetNamespaceResult();
            _resultValue.alternateName = alternateName;
            _resultValue.clusterArmId = clusterArmId;
            _resultValue.createdAt = createdAt;
            _resultValue.disableLocalAuth = disableLocalAuth;
            _resultValue.encryption = encryption;
            _resultValue.id = id;
            _resultValue.identity = identity;
            _resultValue.isAutoInflateEnabled = isAutoInflateEnabled;
            _resultValue.kafkaEnabled = kafkaEnabled;
            _resultValue.location = location;
            _resultValue.maximumThroughputUnits = maximumThroughputUnits;
            _resultValue.metricId = metricId;
            _resultValue.minimumTlsVersion = minimumTlsVersion;
            _resultValue.name = name;
            _resultValue.privateEndpointConnections = privateEndpointConnections;
            _resultValue.provisioningState = provisioningState;
            _resultValue.publicNetworkAccess = publicNetworkAccess;
            _resultValue.serviceBusEndpoint = serviceBusEndpoint;
            _resultValue.sku = sku;
            _resultValue.status = status;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            _resultValue.updatedAt = updatedAt;
            _resultValue.zoneRedundant = zoneRedundant;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy