Class NamespacePatchParameters
- java.lang.Object
-
- com.azure.resourcemanager.notificationhubs.models.NamespacePatchParameters
-
public final class NamespacePatchParameters extends Object
Parameters supplied to the Patch Namespace operation.
-
-
Constructor Summary
Constructors Constructor Description NamespacePatchParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sku
sku()
Get the sku property: The sku of the created namespace.Map<String,String>
tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.NamespacePatchParameters
withSku(Sku sku)
Set the sku property: The sku of the created namespace.NamespacePatchParameters
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
-
-
-
Method Detail
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
public NamespacePatchParameters withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the NamespacePatchParameters object itself.
-
sku
public Sku sku()
Get the sku property: The sku of the created namespace.- Returns:
- the sku value.
-
withSku
public NamespacePatchParameters withSku(Sku sku)
Set the sku property: The sku of the created namespace.- Parameters:
sku
- the sku value to set.- Returns:
- the NamespacePatchParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-