Class SBNamespaceInner

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

public final class SBNamespaceInner extends com.azure.core.management.Resource
Description of a namespace resource.
  • Constructor Details

    • SBNamespaceInner

      public SBNamespaceInner()
      Creates an instance of SBNamespaceInner class.
  • Method Details

    • sku

      public SBSku sku()
      Get the sku property: Properties of SKU.
      Returns:
      the sku value.
    • withSku

      public SBNamespaceInner withSku(SBSku sku)
      Set the sku property: Properties of SKU.
      Parameters:
      sku - the sku value to set.
      Returns:
      the SBNamespaceInner object itself.
    • identity

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

      public SBNamespaceInner withIdentity(Identity identity)
      Set the identity property: Properties of BYOK Identity description.
      Parameters:
      identity - the identity value to set.
      Returns:
      the SBNamespaceInner 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.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • withLocation

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

      public SBNamespaceInner 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.
    • 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 SBNamespaceInner 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 SBNamespaceInner object itself.
    • encryption

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

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

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

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

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

      public SBNamespaceInner withAlternateName(String alternateName)
      Set the alternateName property: Alternate name for namespace.
      Parameters:
      alternateName - the alternateName value to set.
      Returns:
      the SBNamespaceInner 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<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.azure.core.management.Resource
      Throws:
      IOException
    • fromJson

      public static SBNamespaceInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SBNamespaceInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SBNamespaceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the SBNamespaceInner.