
com.pulumi.azurenative.servicebus.outputs.GetNamespaceResult 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.servicebus.outputs;
import com.pulumi.azurenative.servicebus.outputs.EncryptionResponse;
import com.pulumi.azurenative.servicebus.outputs.IdentityResponse;
import com.pulumi.azurenative.servicebus.outputs.PrivateEndpointConnectionResponse;
import com.pulumi.azurenative.servicebus.outputs.SBSkuResponse;
import com.pulumi.azurenative.servicebus.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
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 for namespace
*
*/
private @Nullable String alternateName;
/**
* @return The time the namespace was created
*
*/
private String createdAt;
/**
* @return This property disables SAS authentication for the Service Bus namespace.
*
*/
private @Nullable Boolean disableLocalAuth;
/**
* @return Properties of BYOK Encryption description
*
*/
private @Nullable EncryptionResponse encryption;
/**
* @return Resource Id
*
*/
private String id;
/**
* @return Properties of BYOK Identity description
*
*/
private @Nullable IdentityResponse identity;
/**
* @return The Geo-location where the resource lives
*
*/
private String location;
/**
* @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 Resource name
*
*/
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
*
*/
private @Nullable SBSkuResponse 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 Resource type
*
*/
private String type;
/**
* @return The time the namespace was updated.
*
*/
private String updatedAt;
/**
* @return Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.
*
*/
private @Nullable Boolean zoneRedundant;
private GetNamespaceResult() {}
/**
* @return Alternate name for namespace
*
*/
public Optional alternateName() {
return Optional.ofNullable(this.alternateName);
}
/**
* @return The time the namespace was created
*
*/
public String createdAt() {
return this.createdAt;
}
/**
* @return This property disables SAS authentication for the Service Bus namespace.
*
*/
public Optional disableLocalAuth() {
return Optional.ofNullable(this.disableLocalAuth);
}
/**
* @return Properties of BYOK Encryption description
*
*/
public Optional encryption() {
return Optional.ofNullable(this.encryption);
}
/**
* @return Resource Id
*
*/
public String id() {
return this.id;
}
/**
* @return Properties of BYOK Identity description
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return The Geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @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 Resource name
*
*/
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
*
*/
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 Resource type
*
*/
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 Premium Service Bus 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 String createdAt;
private @Nullable Boolean disableLocalAuth;
private @Nullable EncryptionResponse encryption;
private String id;
private @Nullable IdentityResponse identity;
private String location;
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 SBSkuResponse 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.createdAt = defaults.createdAt;
this.disableLocalAuth = defaults.disableLocalAuth;
this.encryption = defaults.encryption;
this.id = defaults.id;
this.identity = defaults.identity;
this.location = defaults.location;
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 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 location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetNamespaceResult", "location");
}
this.location = location;
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 SBSkuResponse 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.createdAt = createdAt;
_resultValue.disableLocalAuth = disableLocalAuth;
_resultValue.encryption = encryption;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.location = location;
_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