Class EHNamespaceProperties
java.lang.Object
com.azure.resourcemanager.eventhubs.fluent.models.EHNamespaceProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<EHNamespaceProperties>
public final class EHNamespaceProperties
extends Object
implements com.azure.json.JsonSerializable<EHNamespaceProperties>
Namespace properties supplied for create namespace operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the alternateName property: Alternate name specified when alias and namespace names are same.Get the clusterArmId property: Cluster ARM ID of the Namespace.Get the createdAt property: The time the Namespace was created.Get the disableLocalAuth property: This property disables SAS authentication for the Event Hubs namespace.Get the encryption property: Properties of BYOK Encryption description.static EHNamespacePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of EHNamespaceProperties from the JsonReader.Get the isAutoInflateEnabled property: Value that indicates whether AutoInflate is enabled for eventhub namespace.Get the kafkaEnabled property: Value that indicates whether Kafka is enabled for eventhub namespace.Get the maximumThroughputUnits property: Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true).metricId()Get the metricId property: Identifier for Azure Insights metrics.Get the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g. '1.2'.Get the privateEndpointConnections property: List of private endpoint connections.Get the provisioningState property: Provisioning state of the Namespace.Get the publicNetworkAccess property: This determines if traffic is allowed over public network.Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.status()Get the status property: Status of the Namespace.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the updatedAt property: The time the Namespace was updated.voidvalidate()Validates the instance.withAlternateName(String alternateName) Set the alternateName property: Alternate name specified when alias and namespace names are same.withClusterArmId(String clusterArmId) Set the clusterArmId property: Cluster ARM ID of the Namespace.withDisableLocalAuth(Boolean disableLocalAuth) Set the disableLocalAuth property: This property disables SAS authentication for the Event Hubs namespace.withEncryption(Encryption encryption) Set the encryption property: Properties of BYOK Encryption description.withIsAutoInflateEnabled(Boolean isAutoInflateEnabled) Set the isAutoInflateEnabled property: Value that indicates whether AutoInflate is enabled for eventhub namespace.withKafkaEnabled(Boolean kafkaEnabled) Set the kafkaEnabled property: Value that indicates whether Kafka is enabled for eventhub namespace.withMaximumThroughputUnits(Integer maximumThroughputUnits) Set the maximumThroughputUnits property: Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true).withMinimumTlsVersion(TlsVersion minimumTlsVersion) Set the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g. '1.2'.withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections) Set the privateEndpointConnections property: List of private endpoint connections.withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: This determines if traffic is allowed over public network.withZoneRedundant(Boolean zoneRedundant) Set the zoneRedundant property: Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.Get the zoneRedundant property: Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
EHNamespaceProperties
public EHNamespaceProperties()Creates an instance of EHNamespaceProperties class.
-
-
Method Details
-
minimumTlsVersion
Get the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g. '1.2'.- Returns:
- the minimumTlsVersion value.
-
withMinimumTlsVersion
Set the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g. '1.2'.- Parameters:
minimumTlsVersion- the minimumTlsVersion value to set.- Returns:
- the EHNamespaceProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the Namespace.- Returns:
- the provisioningState value.
-
status
Get the status property: Status of the Namespace.- Returns:
- the status value.
-
createdAt
Get the createdAt property: The time the Namespace was created.- Returns:
- the createdAt value.
-
updatedAt
Get the updatedAt property: The time the Namespace was updated.- Returns:
- the updatedAt value.
-
serviceBusEndpoint
Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.- Returns:
- the serviceBusEndpoint value.
-
clusterArmId
Get the clusterArmId property: Cluster ARM ID of the Namespace.- Returns:
- the clusterArmId value.
-
withClusterArmId
Set the clusterArmId property: Cluster ARM ID of the Namespace.- Parameters:
clusterArmId- the clusterArmId value to set.- Returns:
- the EHNamespaceProperties object itself.
-
metricId
Get the metricId property: Identifier for Azure Insights metrics.- Returns:
- the metricId value.
-
isAutoInflateEnabled
Get the isAutoInflateEnabled property: Value that indicates whether AutoInflate is enabled for eventhub namespace.- Returns:
- the isAutoInflateEnabled value.
-
withIsAutoInflateEnabled
Set the isAutoInflateEnabled property: Value that indicates whether AutoInflate is enabled for eventhub namespace.- Parameters:
isAutoInflateEnabled- the isAutoInflateEnabled value to set.- Returns:
- the EHNamespaceProperties object itself.
-
publicNetworkAccess
Get the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled.- Parameters:
publicNetworkAccess- the publicNetworkAccess value to set.- Returns:
- the EHNamespaceProperties object itself.
-
maximumThroughputUnits
Get the maximumThroughputUnits property: Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true).- Returns:
- the maximumThroughputUnits value.
-
withMaximumThroughputUnits
Set the maximumThroughputUnits property: Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true).- Parameters:
maximumThroughputUnits- the maximumThroughputUnits value to set.- Returns:
- the EHNamespaceProperties object itself.
-
kafkaEnabled
Get the kafkaEnabled property: Value that indicates whether Kafka is enabled for eventhub namespace.- Returns:
- the kafkaEnabled value.
-
withKafkaEnabled
Set the kafkaEnabled property: Value that indicates whether Kafka is enabled for eventhub namespace.- Parameters:
kafkaEnabled- the kafkaEnabled value to set.- Returns:
- the EHNamespaceProperties object itself.
-
zoneRedundant
Get the zoneRedundant property: Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.- Returns:
- the zoneRedundant value.
-
withZoneRedundant
Set the zoneRedundant property: Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.- Parameters:
zoneRedundant- the zoneRedundant value to set.- Returns:
- the EHNamespaceProperties object itself.
-
encryption
Get the encryption property: Properties of BYOK Encryption description.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: Properties of BYOK Encryption description.- Parameters:
encryption- the encryption value to set.- Returns:
- the EHNamespaceProperties object itself.
-
privateEndpointConnections
Get the privateEndpointConnections property: List of private endpoint connections.- Returns:
- the privateEndpointConnections value.
-
withPrivateEndpointConnections
public EHNamespaceProperties withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections) Set the privateEndpointConnections property: List of private endpoint connections.- Parameters:
privateEndpointConnections- the privateEndpointConnections value to set.- Returns:
- the EHNamespaceProperties object itself.
-
disableLocalAuth
Get the disableLocalAuth property: This property disables SAS authentication for the Event Hubs namespace.- Returns:
- the disableLocalAuth value.
-
withDisableLocalAuth
Set the disableLocalAuth property: This property disables SAS authentication for the Event Hubs namespace.- Parameters:
disableLocalAuth- the disableLocalAuth value to set.- Returns:
- the EHNamespaceProperties object itself.
-
alternateName
Get the alternateName property: Alternate name specified when alias and namespace names are same.- Returns:
- the alternateName value.
-
withAlternateName
Set the alternateName property: Alternate name specified when alias and namespace names are same.- Parameters:
alternateName- the alternateName value to set.- Returns:
- the EHNamespaceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<EHNamespaceProperties>- Throws:
IOException
-
fromJson
public static EHNamespaceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of EHNamespaceProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of EHNamespaceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the EHNamespaceProperties.
-