public class SuspendContactRecordingRequest extends AmazonWebServiceRequest implements java.io.Serializable
When a contact is being recorded, this API suspends recording the call. For example, you might suspend the call recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording to restart recording.
The period of time that the recording is suspended is filled with silence in the final recording.
Only voice recordings are supported at this time.
Constructor and Description |
---|
SuspendContactRecordingRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContactId()
The identifier of the contact.
|
java.lang.String |
getInitialContactId()
The identifier of the contact.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
int |
hashCode() |
void |
setContactId(java.lang.String contactId)
The identifier of the contact.
|
void |
setInitialContactId(java.lang.String initialContactId)
The identifier of the contact.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SuspendContactRecordingRequest |
withContactId(java.lang.String contactId)
The identifier of the contact.
|
SuspendContactRecordingRequest |
withInitialContactId(java.lang.String initialContactId)
The identifier of the contact.
|
SuspendContactRecordingRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getInstanceId()
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
instanceId
- The identifier of the Amazon Connect instance.
public SuspendContactRecordingRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId
- The identifier of the Amazon Connect instance.
public java.lang.String getContactId()
The identifier of the contact.
Constraints:
Length: 1 - 256
The identifier of the contact.
public void setContactId(java.lang.String contactId)
The identifier of the contact.
Constraints:
Length: 1 - 256
contactId
- The identifier of the contact.
public SuspendContactRecordingRequest withContactId(java.lang.String contactId)
The identifier of the contact.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
contactId
- The identifier of the contact.
public java.lang.String getInitialContactId()
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
Constraints:
Length: 1 - 256
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
public void setInitialContactId(java.lang.String initialContactId)
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
Constraints:
Length: 1 - 256
initialContactId
- The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
public SuspendContactRecordingRequest withInitialContactId(java.lang.String initialContactId)
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
initialContactId
- The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.