Tags Class

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

public class Tags

A list of key value pairs that describe the resource.

Constructor Summary

Constructor Description
Tags()

Creates an instance of Tags class.

Method Summary

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

Get the tags property: A list of key value pairs that describe the resource.

void validate()

Validates the instance.

Tags withTags(Map<String,String> tags)

Set the tags property: A list of key value pairs that describe the resource.

Methods inherited from java.lang.Object

Constructor Details

Tags

public Tags()

Creates an instance of Tags class.

Method Details

tags

public Map tags()

Get the tags property: A list of key value pairs that describe the resource.

Returns:

the tags value.

validate

public void validate()

Validates the instance.

withTags

public Tags withTags(Map tags)

Set the tags property: A list of key value pairs that describe the resource.

Parameters:

tags - the tags value to set.

Returns:

the Tags object itself.

Applies to