@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagCondition extends Object implements Serializable, Cloneable, StructuredPojo
A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123
.
Constructor and Description |
---|
TagCondition() |
Modifier and Type | Method and Description |
---|---|
TagCondition |
clone() |
boolean |
equals(Object obj) |
String |
getTagKey()
The tag key in the tag condition.
|
String |
getTagValue()
The tag value in the tag condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTagKey(String tagKey)
The tag key in the tag condition.
|
void |
setTagValue(String tagValue)
The tag value in the tag condition.
|
String |
toString()
Returns a string representation of this object.
|
TagCondition |
withTagKey(String tagKey)
The tag key in the tag condition.
|
TagCondition |
withTagValue(String tagValue)
The tag value in the tag condition.
|
public void setTagKey(String tagKey)
The tag key in the tag condition.
tagKey
- The tag key in the tag condition.public String getTagKey()
The tag key in the tag condition.
public TagCondition withTagKey(String tagKey)
The tag key in the tag condition.
tagKey
- The tag key in the tag condition.public void setTagValue(String tagValue)
The tag value in the tag condition.
tagValue
- The tag value in the tag condition.public String getTagValue()
The tag value in the tag condition.
public TagCondition withTagValue(String tagValue)
The tag value in the tag condition.
tagValue
- The tag value in the tag condition.public String toString()
toString
in class Object
Object.toString()
public TagCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.