Class ResourceNamespacePatch
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.servicebus.models.ResourceNamespacePatch
-
- Direct Known Subclasses:
PremiumMessagingRegionInner,SBNamespaceUpdateParameters
public class ResourceNamespacePatch extends com.azure.core.management.ProxyResourceThe Resource definition.
-
-
Constructor Summary
Constructors Constructor Description ResourceNamespacePatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringlocation()Get the location property: Resource location.Map<String,String>tags()Get the tags property: Resource tags.voidvalidate()Validates the instance.ResourceNamespacePatchwithLocation(String location)Set the location property: Resource location.ResourceNamespacePatchwithTags(Map<String,String> tags)Set the tags property: Resource tags.
-
-
-
Method Detail
-
location
public String location()
Get the location property: Resource location.- Returns:
- the location value.
-
withLocation
public ResourceNamespacePatch withLocation(String location)
Set the location property: Resource location.- Parameters:
location- the location value to set.- Returns:
- the ResourceNamespacePatch object itself.
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
public ResourceNamespacePatch withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags- the tags value to set.- Returns:
- the ResourceNamespacePatch object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-