@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.
Constructor and Description |
---|
TagCondition() |
Modifier and Type | Method and Description |
---|---|
TagCondition |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The tag key in the tag condition.
|
String |
getValue()
The tag value in the tag condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The tag key in the tag condition.
|
void |
setValue(String value)
The tag value in the tag condition.
|
String |
toString()
Returns a string representation of this object.
|
TagCondition |
withKey(String key)
The tag key in the tag condition.
|
TagCondition |
withValue(String value)
The tag value in the tag condition.
|
public void setKey(String key)
The tag key in the tag condition.
key
- The tag key in the tag condition.public String getKey()
The tag key in the tag condition.
public TagCondition withKey(String key)
The tag key in the tag condition.
key
- The tag key in the tag condition.public void setValue(String value)
The tag value in the tag condition.
value
- The tag value in the tag condition.public String getValue()
The tag value in the tag condition.
public TagCondition withValue(String value)
The tag value in the tag condition.
value
- 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.