TagsResource Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.TagsResource

public class TagsResource

A container holding only the Tags for a resource, allowing the user to update the tags.

Constructor Summary

Constructor Description
TagsResource()

Creates an instance of TagsResource class.

Method Summary

Modifier and Type Method and Description
Map<String,String> tags()

Get the tags property: Resource tags.

void validate()

Validates the instance.

TagsResource withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

TagsResource

public TagsResource()

Creates an instance of TagsResource class.

Method Details

tags

public Map tags()

Get the tags property: Resource tags.

Returns:

the tags value.

validate

public void validate()

Validates the instance.

withTags

public TagsResource withTags(Map tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the TagsResource object itself.

Applies to