@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CardStatus extends Object implements Serializable, Cloneable, StructuredPojo
The current status and value of a card in an active Amazon Q App session.
| Constructor and Description |
|---|
CardStatus() |
| Modifier and Type | Method and Description |
|---|---|
CardStatus |
clone() |
boolean |
equals(Object obj) |
String |
getCurrentState()
The current state of the card.
|
String |
getCurrentValue()
The current value or result associated with the card.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCurrentState(String currentState)
The current state of the card.
|
void |
setCurrentValue(String currentValue)
The current value or result associated with the card.
|
String |
toString()
Returns a string representation of this object.
|
CardStatus |
withCurrentState(ExecutionStatus currentState)
The current state of the card.
|
CardStatus |
withCurrentState(String currentState)
The current state of the card.
|
CardStatus |
withCurrentValue(String currentValue)
The current value or result associated with the card.
|
public void setCurrentState(String currentState)
The current state of the card.
currentState - The current state of the card.ExecutionStatuspublic String getCurrentState()
The current state of the card.
ExecutionStatuspublic CardStatus withCurrentState(String currentState)
The current state of the card.
currentState - The current state of the card.ExecutionStatuspublic CardStatus withCurrentState(ExecutionStatus currentState)
The current state of the card.
currentState - The current state of the card.ExecutionStatuspublic void setCurrentValue(String currentValue)
The current value or result associated with the card.
currentValue - The current value or result associated with the card.public String getCurrentValue()
The current value or result associated with the card.
public CardStatus withCurrentValue(String currentValue)
The current value or result associated with the card.
currentValue - The current value or result associated with the card.public String toString()
toString in class ObjectObject.toString()public CardStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.