@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendChatIntegrationEventResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SendChatIntegrationEventResult() |
Modifier and Type | Method and Description |
---|---|
SendChatIntegrationEventResult |
clone() |
boolean |
equals(Object obj) |
String |
getInitialContactId()
Identifier of chat contact used to handle integration event.
|
Boolean |
getNewChatCreated()
Whether handling the integration event resulted in creating a new chat or acting on existing chat.
|
int |
hashCode() |
Boolean |
isNewChatCreated()
Whether handling the integration event resulted in creating a new chat or acting on existing chat.
|
void |
setInitialContactId(String initialContactId)
Identifier of chat contact used to handle integration event.
|
void |
setNewChatCreated(Boolean newChatCreated)
Whether handling the integration event resulted in creating a new chat or acting on existing chat.
|
String |
toString()
Returns a string representation of this object.
|
SendChatIntegrationEventResult |
withInitialContactId(String initialContactId)
Identifier of chat contact used to handle integration event.
|
SendChatIntegrationEventResult |
withNewChatCreated(Boolean newChatCreated)
Whether handling the integration event resulted in creating a new chat or acting on existing chat.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setInitialContactId(String initialContactId)
Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.
initialContactId
- Identifier of chat contact used to handle integration event. This may be null if the integration event is
not valid without an already existing chat contact.public String getInitialContactId()
Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.
public SendChatIntegrationEventResult withInitialContactId(String initialContactId)
Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.
initialContactId
- Identifier of chat contact used to handle integration event. This may be null if the integration event is
not valid without an already existing chat contact.public void setNewChatCreated(Boolean newChatCreated)
Whether handling the integration event resulted in creating a new chat or acting on existing chat.
newChatCreated
- Whether handling the integration event resulted in creating a new chat or acting on existing chat.public Boolean getNewChatCreated()
Whether handling the integration event resulted in creating a new chat or acting on existing chat.
public SendChatIntegrationEventResult withNewChatCreated(Boolean newChatCreated)
Whether handling the integration event resulted in creating a new chat or acting on existing chat.
newChatCreated
- Whether handling the integration event resulted in creating a new chat or acting on existing chat.public Boolean isNewChatCreated()
Whether handling the integration event resulted in creating a new chat or acting on existing chat.
public String toString()
toString
in class Object
Object.toString()
public SendChatIntegrationEventResult clone()