Class SBNamespaceProperties

java.lang.Object
com.azure.resourcemanager.servicebus.fluent.models.SBNamespaceProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<SBNamespaceProperties>

public final class SBNamespaceProperties extends Object implements com.azure.json.JsonSerializable<SBNamespaceProperties>
Properties of the namespace.
  • Constructor Details

    • SBNamespaceProperties

      public SBNamespaceProperties()
      Creates an instance of SBNamespaceProperties class.
  • 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.
    • metricId

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

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

      public SBNamespaceProperties withZoneRedundant(Boolean zoneRedundant)
      Set the zoneRedundant property: Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.
      Parameters:
      zoneRedundant - the zoneRedundant value to set.
      Returns:
      the SBNamespaceProperties object itself.
    • encryption

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

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

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

      public SBNamespaceProperties withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)
      Set the privateEndpointConnections property: List of private endpoint connections.
      Parameters:
      privateEndpointConnections - the privateEndpointConnections value to set.
      Returns:
      the SBNamespaceProperties object itself.
    • disableLocalAuth

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

      public SBNamespaceProperties withDisableLocalAuth(Boolean disableLocalAuth)
      Set the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.
      Parameters:
      disableLocalAuth - the disableLocalAuth value to set.
      Returns:
      the SBNamespaceProperties object itself.
    • alternateName

      public String alternateName()
      Get the alternateName property: Alternate name for namespace.
      Returns:
      the alternateName value.
    • withAlternateName

      public SBNamespaceProperties withAlternateName(String alternateName)
      Set the alternateName property: Alternate name for namespace.
      Parameters:
      alternateName - the alternateName value to set.
      Returns:
      the SBNamespaceProperties object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SBNamespaceProperties>
      Throws:
      IOException
    • fromJson

      public static SBNamespaceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SBNamespaceProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SBNamespaceProperties 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 SBNamespaceProperties.