Class TagFilter
java.lang.Object
com.azure.resourcemanager.storage.models.TagFilter
Blob index tag based filtering for blob objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: This is the filter tag name, it can have 1 - 128 characters.op()Get the op property: This is the comparison operator which is used for object comparison and filtering.voidvalidate()Validates the instance.value()Get the value property: This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters.Set the name property: This is the filter tag name, it can have 1 - 128 characters.Set the op property: This is the comparison operator which is used for object comparison and filtering.Set the value property: This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters.
-
Constructor Details
-
TagFilter
public TagFilter()
-
-
Method Details
-
name
Get the name property: This is the filter tag name, it can have 1 - 128 characters.- Returns:
- the name value.
-
withName
Set the name property: This is the filter tag name, it can have 1 - 128 characters.- Parameters:
name- the name value to set.- Returns:
- the TagFilter object itself.
-
op
Get the op property: This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported.- Returns:
- the op value.
-
withOp
Set the op property: This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported.- Parameters:
op- the op value to set.- Returns:
- the TagFilter object itself.
-
value
Get the value property: This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters.- Returns:
- the value value.
-
withValue
Set the value property: This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters.- Parameters:
value- the value value to set.- Returns:
- the TagFilter object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-