Class RelayNamespaceInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.relay.fluent.models.RelayNamespaceInner

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

    • RelayNamespaceInner

      public RelayNamespaceInner()
  • Method Details

    • sku

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

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

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

      public RelayNamespaceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.