Class RelayUpdateParameters

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.relay.models.ResourceNamespacePatch
com.azure.resourcemanager.relay.models.RelayUpdateParameters

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

    • RelayUpdateParameters

      public RelayUpdateParameters()
  • Method Details

    • sku

      public Sku sku()
      Get the sku property: SKU of the namespace.
      Returns:
      the sku value.
    • withSku

      public RelayUpdateParameters withSku(Sku sku)
      Set the sku property: SKU of the namespace.
      Parameters:
      sku - the sku value to set.
      Returns:
      the RelayUpdateParameters object itself.
    • withTags

      public RelayUpdateParameters 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 ProvisioningStateEnum provisioningState()
      Get the provisioningState property: The provisioningState property.
      Returns:
      the provisioningState 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.
    • validate

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