@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopContactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
StopContactRequest() |
| Modifier and Type | Method and Description |
|---|---|
StopContactRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContactId()
The ID of the contact.
|
DisconnectReason |
getDisconnectReason()
The reason a contact can be disconnected.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
int |
hashCode() |
void |
setContactId(String contactId)
The ID of the contact.
|
void |
setDisconnectReason(DisconnectReason disconnectReason)
The reason a contact can be disconnected.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
String |
toString()
Returns a string representation of this object.
|
StopContactRequest |
withContactId(String contactId)
The ID of the contact.
|
StopContactRequest |
withDisconnectReason(DisconnectReason disconnectReason)
The reason a contact can be disconnected.
|
StopContactRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setContactId(String contactId)
The ID of the contact.
contactId - The ID of the contact.public String getContactId()
The ID of the contact.
public StopContactRequest withContactId(String contactId)
The ID of the contact.
contactId - The ID of the contact.public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId - The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public StopContactRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId - The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public void setDisconnectReason(DisconnectReason disconnectReason)
The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.
disconnectReason - The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.public DisconnectReason getDisconnectReason()
The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.
public StopContactRequest withDisconnectReason(DisconnectReason disconnectReason)
The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.
disconnectReason - The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.public String toString()
toString in class ObjectObject.toString()public StopContactRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()