Поделиться через


TagSettingsProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.maintenance.models.TagSettingsProperties

public final class TagSettingsProperties

Tag filter information for the VM.

Constructor Summary

Constructor Description
TagSettingsProperties()

Creates an instance of TagSettingsProperties class.

Method Summary

Modifier and Type Method and Description
TagOperators filterOperator()

Get the filterOperator property: Filter VMs by Any or All specified tags.

Map<String,List<String>> tags()

Get the tags property: Dictionary of tags with its list of values.

void validate()

Validates the instance.

TagSettingsProperties withFilterOperator(TagOperators filterOperator)

Set the filterOperator property: Filter VMs by Any or All specified tags.

TagSettingsProperties withTags(Map<String,List<String>> tags)

Set the tags property: Dictionary of tags with its list of values.

Methods inherited from java.lang.Object

Constructor Details

TagSettingsProperties

public TagSettingsProperties()

Creates an instance of TagSettingsProperties class.

Method Details

filterOperator

public TagOperators filterOperator()

Get the filterOperator property: Filter VMs by Any or All specified tags.

Returns:

the filterOperator value.

tags

public Map<String,List<String>> tags()

Get the tags property: Dictionary of tags with its list of values.

Returns:

the tags value.

validate

public void validate()

Validates the instance.

withFilterOperator

public TagSettingsProperties withFilterOperator(TagOperators filterOperator)

Set the filterOperator property: Filter VMs by Any or All specified tags.

Parameters:

filterOperator - the filterOperator value to set.

Returns:

the TagSettingsProperties object itself.

withTags

public TagSettingsProperties withTags(Map<String,List<String>> tags)

Set the tags property: Dictionary of tags with its list of values.

Parameters:

tags - the tags value to set.

Returns:

the TagSettingsProperties object itself.

Applies to