@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContextAttribute extends Object implements Serializable, Cloneable
The additional attributes of RecommendedAction data type.
| Constructor and Description |
|---|
ContextAttribute() |
| Modifier and Type | Method and Description |
|---|---|
ContextAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key of
ContextAttribute. |
String |
getValue()
The value of
ContextAttribute. |
int |
hashCode() |
void |
setKey(String key)
The key of
ContextAttribute. |
void |
setValue(String value)
The value of
ContextAttribute. |
String |
toString()
Returns a string representation of this object.
|
ContextAttribute |
withKey(String key)
The key of
ContextAttribute. |
ContextAttribute |
withValue(String value)
The value of
ContextAttribute. |
public void setKey(String key)
The key of ContextAttribute.
key - The key of ContextAttribute.public String getKey()
The key of ContextAttribute.
ContextAttribute.public ContextAttribute withKey(String key)
The key of ContextAttribute.
key - The key of ContextAttribute.public void setValue(String value)
The value of ContextAttribute.
value - The value of ContextAttribute.public String getValue()
The value of ContextAttribute.
ContextAttribute.public ContextAttribute withValue(String value)
The value of ContextAttribute.
value - The value of ContextAttribute.public String toString()
toString in class ObjectObject.toString()public ContextAttribute clone()