Class EHNamespaceProperties

java.lang.Object
com.azure.resourcemanager.eventhubs.fluent.models.EHNamespaceProperties

public final class EHNamespaceProperties extends Object
Namespace properties supplied for create namespace operation.
  • Constructor Details

    • EHNamespaceProperties

      public EHNamespaceProperties()
  • Method Details

    • provisioningState

      public String provisioningState()
      Get the provisioningState property: Provisioning state of the Namespace.
      Returns:
      the provisioningState value.
    • status

      public String status()
      Get the status property: Status of the Namespace.
      Returns:
      the status value.
    • createdAt

      public OffsetDateTime createdAt()
      Get the createdAt property: The time the Namespace was created.
      Returns:
      the createdAt value.
    • updatedAt

      public OffsetDateTime updatedAt()
      Get the updatedAt property: The time the Namespace was updated.
      Returns:
      the updatedAt value.
    • serviceBusEndpoint

      public String serviceBusEndpoint()
      Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.
      Returns:
      the serviceBusEndpoint value.
    • clusterArmId

      public String clusterArmId()
      Get the clusterArmId property: Cluster ARM ID of the Namespace.
      Returns:
      the clusterArmId value.
    • withClusterArmId

      public EHNamespaceProperties withClusterArmId(String clusterArmId)
      Set the clusterArmId property: Cluster ARM ID of the Namespace.
      Parameters:
      clusterArmId - the clusterArmId value to set.
      Returns:
      the EHNamespaceProperties object itself.
    • metricId

      public String metricId()
      Get the metricId property: Identifier for Azure Insights metrics.
      Returns:
      the metricId value.
    • isAutoInflateEnabled

      public Boolean isAutoInflateEnabled()
      Get the isAutoInflateEnabled property: Value that indicates whether AutoInflate is enabled for eventhub namespace.
      Returns:
      the isAutoInflateEnabled value.
    • withIsAutoInflateEnabled

      public EHNamespaceProperties withIsAutoInflateEnabled(Boolean isAutoInflateEnabled)
      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.
    • maximumThroughputUnits

      public Integer 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

      public EHNamespaceProperties 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).
      Parameters:
      maximumThroughputUnits - the maximumThroughputUnits value to set.
      Returns:
      the EHNamespaceProperties object itself.
    • kafkaEnabled

      public Boolean kafkaEnabled()
      Get the kafkaEnabled property: Value that indicates whether Kafka is enabled for eventhub namespace.
      Returns:
      the kafkaEnabled value.
    • withKafkaEnabled

      public EHNamespaceProperties withKafkaEnabled(Boolean kafkaEnabled)
      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

      public Boolean zoneRedundant()
      Get the zoneRedundant property: Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.
      Returns:
      the zoneRedundant value.
    • withZoneRedundant

      public EHNamespaceProperties withZoneRedundant(Boolean zoneRedundant)
      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

      public Encryption encryption()
      Get the encryption property: Properties of BYOK Encryption description.
      Returns:
      the encryption value.
    • withEncryption

      public EHNamespaceProperties withEncryption(Encryption encryption)
      Set the encryption property: Properties of BYOK Encryption description.
      Parameters:
      encryption - the encryption value to set.
      Returns:
      the EHNamespaceProperties object itself.
    • privateEndpointConnections

      public List<PrivateEndpointConnectionInner> 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

      public Boolean disableLocalAuth()
      Get the disableLocalAuth property: This property disables SAS authentication for the Event Hubs namespace.
      Returns:
      the disableLocalAuth value.
    • withDisableLocalAuth

      public EHNamespaceProperties withDisableLocalAuth(Boolean disableLocalAuth)
      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

      public String alternateName()
      Get the alternateName property: Alternate name specified when alias and namespace names are same.
      Returns:
      the alternateName value.
    • withAlternateName

      public EHNamespaceProperties withAlternateName(String alternateName)
      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.