public class TagFilter extends Object implements Serializable, Cloneable
The name of a tag filter. Valid names are: tagKey
,
tagValue
, configurationId
.
Constructor and Description |
---|
TagFilter() |
Modifier and Type | Method and Description |
---|---|
TagFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
A name of a tag filter.
|
List<String> |
getValues()
Values of a tag filter.
|
int |
hashCode() |
void |
setName(String name)
A name of a tag filter.
|
void |
setValues(Collection<String> values)
Values of a tag filter.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TagFilter |
withName(String name)
A name of a tag filter.
|
TagFilter |
withValues(Collection<String> values)
Values of a tag filter.
|
TagFilter |
withValues(String... values)
Values of a tag filter.
|
public void setName(String name)
A name of a tag filter.
name
- A name of a tag filter.public String getName()
A name of a tag filter.
public TagFilter withName(String name)
A name of a tag filter.
name
- A name of a tag filter.public void setValues(Collection<String> values)
Values of a tag filter.
values
- Values of a tag filter.public TagFilter withValues(String... values)
Values of a tag filter.
NOTE: This method appends the values to the existing list (if
any). Use setValues(java.util.Collection)
or
withValues(java.util.Collection)
if you want to override the
existing values.
values
- Values of a tag filter.public TagFilter withValues(Collection<String> values)
Values of a tag filter.
values
- Values of a tag filter.public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.