@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisconnectReason extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about why a contact was disconnected. Only Amazon Connect outbound campaigns can provide this field.
| Constructor and Description |
|---|
DisconnectReason() |
| Modifier and Type | Method and Description |
|---|---|
DisconnectReason |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
A code that indicates how the contact was terminated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
A code that indicates how the contact was terminated.
|
String |
toString()
Returns a string representation of this object.
|
DisconnectReason |
withCode(String code)
A code that indicates how the contact was terminated.
|
public void setCode(String code)
A code that indicates how the contact was terminated.
code - A code that indicates how the contact was terminated.public String getCode()
A code that indicates how the contact was terminated.
public DisconnectReason withCode(String code)
A code that indicates how the contact was terminated.
code - A code that indicates how the contact was terminated.public String toString()
toString in class ObjectObject.toString()public DisconnectReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.