public class TagSearchCondition
extends java.lang.Object
implements java.io.Serializable
The search criteria to be used to return tags.
| Constructor and Description |
|---|
TagSearchCondition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTagKey()
The tag key used in the tag search condition.
|
java.lang.String |
getTagKeyComparisonType()
The type of comparison to be made when evaluating the tag key in tag
search condition.
|
java.lang.String |
getTagValue()
The tag value used in the tag search condition.
|
java.lang.String |
getTagValueComparisonType()
The type of comparison to be made when evaluating the tag value in tag
search condition.
|
int |
hashCode() |
void |
setTagKey(java.lang.String tagKey)
The tag key used in the tag search condition.
|
void |
setTagKeyComparisonType(java.lang.String tagKeyComparisonType)
The type of comparison to be made when evaluating the tag key in tag
search condition.
|
void |
setTagKeyComparisonType(StringComparisonType tagKeyComparisonType)
The type of comparison to be made when evaluating the tag key in tag
search condition.
|
void |
setTagValue(java.lang.String tagValue)
The tag value used in the tag search condition.
|
void |
setTagValueComparisonType(java.lang.String tagValueComparisonType)
The type of comparison to be made when evaluating the tag value in tag
search condition.
|
void |
setTagValueComparisonType(StringComparisonType tagValueComparisonType)
The type of comparison to be made when evaluating the tag value in tag
search condition.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TagSearchCondition |
withTagKey(java.lang.String tagKey)
The tag key used in the tag search condition.
|
TagSearchCondition |
withTagKeyComparisonType(java.lang.String tagKeyComparisonType)
The type of comparison to be made when evaluating the tag key in tag
search condition.
|
TagSearchCondition |
withTagKeyComparisonType(StringComparisonType tagKeyComparisonType)
The type of comparison to be made when evaluating the tag key in tag
search condition.
|
TagSearchCondition |
withTagValue(java.lang.String tagValue)
The tag value used in the tag search condition.
|
TagSearchCondition |
withTagValueComparisonType(java.lang.String tagValueComparisonType)
The type of comparison to be made when evaluating the tag value in tag
search condition.
|
TagSearchCondition |
withTagValueComparisonType(StringComparisonType tagValueComparisonType)
The type of comparison to be made when evaluating the tag value in tag
search condition.
|
public java.lang.String getTagKey()
The tag key used in the tag search condition.
Constraints:
Length: - 128
The tag key used in the tag search condition.
public void setTagKey(java.lang.String tagKey)
The tag key used in the tag search condition.
Constraints:
Length: - 128
tagKey - The tag key used in the tag search condition.
public TagSearchCondition withTagKey(java.lang.String tagKey)
The tag key used in the tag search condition.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 128
tagKey - The tag key used in the tag search condition.
public java.lang.String getTagValue()
The tag value used in the tag search condition.
Constraints:
Length: - 256
The tag value used in the tag search condition.
public void setTagValue(java.lang.String tagValue)
The tag value used in the tag search condition.
Constraints:
Length: - 256
tagValue - The tag value used in the tag search condition.
public TagSearchCondition withTagValue(java.lang.String tagValue)
The tag value used in the tag search condition.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 256
tagValue - The tag value used in the tag search condition.
public java.lang.String getTagKeyComparisonType()
The type of comparison to be made when evaluating the tag key in tag search condition.
Constraints:
Allowed Values: STARTS_WITH, CONTAINS, EXACT
The type of comparison to be made when evaluating the tag key in tag search condition.
StringComparisonTypepublic void setTagKeyComparisonType(java.lang.String tagKeyComparisonType)
The type of comparison to be made when evaluating the tag key in tag search condition.
Constraints:
Allowed Values: STARTS_WITH, CONTAINS, EXACT
tagKeyComparisonType - The type of comparison to be made when evaluating the tag key in tag search condition.
StringComparisonTypepublic TagSearchCondition withTagKeyComparisonType(java.lang.String tagKeyComparisonType)
The type of comparison to be made when evaluating the tag key in tag search condition.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STARTS_WITH, CONTAINS, EXACT
tagKeyComparisonType - The type of comparison to be made when evaluating the tag key in tag search condition.
StringComparisonTypepublic void setTagKeyComparisonType(StringComparisonType tagKeyComparisonType)
The type of comparison to be made when evaluating the tag key in tag search condition.
Constraints:
Allowed Values: STARTS_WITH, CONTAINS, EXACT
tagKeyComparisonType - The type of comparison to be made when evaluating the tag key in tag search condition.
StringComparisonTypepublic TagSearchCondition withTagKeyComparisonType(StringComparisonType tagKeyComparisonType)
The type of comparison to be made when evaluating the tag key in tag search condition.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STARTS_WITH, CONTAINS, EXACT
tagKeyComparisonType - The type of comparison to be made when evaluating the tag key in tag search condition.
StringComparisonTypepublic java.lang.String getTagValueComparisonType()
The type of comparison to be made when evaluating the tag value in tag search condition.
Constraints:
Allowed Values: STARTS_WITH, CONTAINS, EXACT
The type of comparison to be made when evaluating the tag value in tag search condition.
StringComparisonTypepublic void setTagValueComparisonType(java.lang.String tagValueComparisonType)
The type of comparison to be made when evaluating the tag value in tag search condition.
Constraints:
Allowed Values: STARTS_WITH, CONTAINS, EXACT
tagValueComparisonType - The type of comparison to be made when evaluating the tag value in tag search condition.
StringComparisonTypepublic TagSearchCondition withTagValueComparisonType(java.lang.String tagValueComparisonType)
The type of comparison to be made when evaluating the tag value in tag search condition.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STARTS_WITH, CONTAINS, EXACT
tagValueComparisonType - The type of comparison to be made when evaluating the tag value in tag search condition.
StringComparisonTypepublic void setTagValueComparisonType(StringComparisonType tagValueComparisonType)
The type of comparison to be made when evaluating the tag value in tag search condition.
Constraints:
Allowed Values: STARTS_WITH, CONTAINS, EXACT
tagValueComparisonType - The type of comparison to be made when evaluating the tag value in tag search condition.
StringComparisonTypepublic TagSearchCondition withTagValueComparisonType(StringComparisonType tagValueComparisonType)
The type of comparison to be made when evaluating the tag value in tag search condition.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STARTS_WITH, CONTAINS, EXACT
tagValueComparisonType - The type of comparison to be made when evaluating the tag value in tag search condition.
StringComparisonTypepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object