Class EHNamespaceInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.eventhubs.fluent.models.EHNamespaceInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class EHNamespaceInner extends com.azure.core.management.Resource
Single Namespace item in List or Get Operation.
  • Constructor Details

    • EHNamespaceInner

      public EHNamespaceInner()
  • Method Details

    • sku

      public Sku sku()
      Get the sku property: Properties of sku resource.
      Returns:
      the sku value.
    • withSku

      public EHNamespaceInner withSku(Sku sku)
      Set the sku property: Properties of sku resource.
      Parameters:
      sku - the sku value to set.
      Returns:
      the EHNamespaceInner object itself.
    • identity

      public Identity identity()
      Get the identity property: Properties of BYOK Identity description.
      Returns:
      the identity value.
    • withIdentity

      public EHNamespaceInner withIdentity(Identity identity)
      Set the identity property: Properties of BYOK Identity description.
      Parameters:
      identity - the identity value to set.
      Returns:
      the EHNamespaceInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: The system meta data relating to this resource.
      Returns:
      the systemData value.
    • withLocation

      public EHNamespaceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public EHNamespaceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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 EHNamespaceInner withClusterArmId(String clusterArmId)
      Set the clusterArmId property: Cluster ARM ID of the Namespace.
      Parameters:
      clusterArmId - the clusterArmId value to set.
      Returns:
      the EHNamespaceInner 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 EHNamespaceInner 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 EHNamespaceInner 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 EHNamespaceInner 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 EHNamespaceInner 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 EHNamespaceInner 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 EHNamespaceInner 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 EHNamespaceInner 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 EHNamespaceInner object itself.
    • encryption

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

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

      public List<PrivateEndpointConnectionInner> privateEndpointConnections()
      Get the privateEndpointConnections property: List of private endpoint connections.
      Returns:
      the privateEndpointConnections value.
    • withPrivateEndpointConnections

      public EHNamespaceInner withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)
      Set the privateEndpointConnections property: List of private endpoint connections.
      Parameters:
      privateEndpointConnections - the privateEndpointConnections value to set.
      Returns:
      the EHNamespaceInner 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 EHNamespaceInner 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 EHNamespaceInner 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 EHNamespaceInner 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 EHNamespaceInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.