Class SBNamespaceUpdateParameters
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.servicebus.models.ResourceNamespacePatch
-
- com.azure.resourcemanager.servicebus.models.SBNamespaceUpdateParameters
-
public class SBNamespaceUpdateParameters extends ResourceNamespacePatch
Description of a namespace resource.
-
-
Constructor Summary
Constructors Constructor Description SBNamespaceUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimecreatedAt()Get the createdAt property: The time the namespace was created.StringmetricId()Get the metricId property: Identifier for Azure Insights metrics.StringprovisioningState()Get the provisioningState property: Provisioning state of the namespace.StringserviceBusEndpoint()Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.SBSkusku()Get the sku property: Properties of Sku.OffsetDateTimeupdatedAt()Get the updatedAt property: The time the namespace was updated.voidvalidate()Validates the instance.SBNamespaceUpdateParameterswithLocation(String location)Set the location property: Resource location.SBNamespaceUpdateParameterswithSku(SBSku sku)Set the sku property: Properties of Sku.SBNamespaceUpdateParameterswithTags(Map<String,String> tags)Set the tags property: Resource tags.-
Methods inherited from class com.azure.resourcemanager.servicebus.models.ResourceNamespacePatch
location, tags
-
-
-
-
Method Detail
-
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.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state of the namespace.- 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.
-
withLocation
public SBNamespaceUpdateParameters withLocation(String location)
Set the location property: Resource location.- Overrides:
withLocationin classResourceNamespacePatch- 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:
withTagsin classResourceNamespacePatch- Parameters:
tags- the tags value to set.- Returns:
- the ResourceNamespacePatch object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classResourceNamespacePatch- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-