@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagValuePair extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a tag key and value, as a pair, to use in a tag-based condition for a classification job.
| Constructor and Description |
|---|
TagValuePair() |
| Modifier and Type | Method and Description |
|---|---|
TagValuePair |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The value for the tag key to use in the condition.
|
String |
getValue()
The tag value, associated with the specified tag key, to use in the condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
The value for the tag key to use in the condition.
|
void |
setValue(String value)
The tag value, associated with the specified tag key, to use in the condition.
|
String |
toString()
Returns a string representation of this object.
|
TagValuePair |
withKey(String key)
The value for the tag key to use in the condition.
|
TagValuePair |
withValue(String value)
The tag value, associated with the specified tag key, to use in the condition.
|
public void setKey(String key)
The value for the tag key to use in the condition.
key - The value for the tag key to use in the condition.public String getKey()
The value for the tag key to use in the condition.
public TagValuePair withKey(String key)
The value for the tag key to use in the condition.
key - The value for the tag key to use in the condition.public void setValue(String value)
The tag value, associated with the specified tag key, to use in the condition.
value - The tag value, associated with the specified tag key, to use in the condition.public String getValue()
The tag value, associated with the specified tag key, to use in the condition.
public TagValuePair withValue(String value)
The tag value, associated with the specified tag key, to use in the condition.
value - The tag value, associated with the specified tag key, to use in the condition.public String toString()
toString in class ObjectObject.toString()public TagValuePair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.