Class SBNamespaceUpdateParameters

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

public final class SBNamespaceUpdateParameters extends ResourceNamespacePatch
Description of a namespace resource.
  • Constructor Details

    • SBNamespaceUpdateParameters

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

    • sku

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

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

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

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

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class ResourceNamespacePatch
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class ResourceNamespacePatch
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class ResourceNamespacePatch
      Returns:
      the type value.
    • withLocation

      public SBNamespaceUpdateParameters withLocation(String location)
      Set the location property: Resource location.
      Overrides:
      withLocation in class ResourceNamespacePatch
      Parameters:
      location - the location value to set.
      Returns:
      the ResourceNamespacePatch object itself.
    • withTags

      public SBNamespaceUpdateParameters withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Overrides:
      withTags in class ResourceNamespacePatch
      Parameters:
      tags - the tags value to set.
      Returns:
      the ResourceNamespacePatch object itself.
    • 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.
    • encryption

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

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

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

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

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

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

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ResourceNamespacePatch
      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 ResourceNamespacePatch
      Throws:
      IOException
    • fromJson

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