@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) |
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 ObjectObject.toString()public TagCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.