Class TagFilter
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.TagFilter
-
public final class TagFilter extends Object
Blob index tag based filtering for blob objects.
-
-
Constructor Summary
Constructors Constructor Description TagFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: This is the filter tag name, it can have 1 - 128 characters.Stringop()Get the op property: This is the comparison operator which is used for object comparison and filtering.voidvalidate()Validates the instance.Stringvalue()Get the value property: This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters.TagFilterwithName(String name)Set the name property: This is the filter tag name, it can have 1 - 128 characters.TagFilterwithOp(String op)Set the op property: This is the comparison operator which is used for object comparison and filtering.TagFilterwithValue(String value)Set the value property: This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters.
-
-
-
Method Detail
-
name
public String name()
Get the name property: This is the filter tag name, it can have 1 - 128 characters.- Returns:
- the name value.
-
withName
public TagFilter withName(String name)
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
public String 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
public TagFilter withOp(String op)
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
public String 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
public TagFilter withValue(String value)
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.
-
-