Class ApimResource
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.apimanagement.models.ApimResource
-
- Direct Known Subclasses:
ApiManagementServiceResourceInner
,ApiManagementServiceUpdateParameters
public class ApimResource extends com.azure.core.management.ProxyResource
The Resource definition.
-
-
Constructor Summary
Constructors Constructor Description ApimResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.ApimResource
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 ApimResource withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the ApimResource object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-