public class StartContactRecordingRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Starts recording the contact:
If the API is called before the agent joins the call, recording starts when the agent joins the call.
If the API is called after the agent joins the call, recording starts at the time of the API call.
StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.
You can use this API to override the recording behavior configured in the Set recording behavior block.
Only voice recordings are supported at this time.
| Constructor and Description |
|---|
StartContactRecordingRequest() |
| 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.
|
VoiceRecordingConfiguration |
getVoiceRecordingConfiguration()
The person being recorded.
|
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.
|
void |
setVoiceRecordingConfiguration(VoiceRecordingConfiguration voiceRecordingConfiguration)
The person being recorded.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartContactRecordingRequest |
withContactId(java.lang.String contactId)
The identifier of the contact.
|
StartContactRecordingRequest |
withInitialContactId(java.lang.String initialContactId)
The identifier of the contact.
|
StartContactRecordingRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
StartContactRecordingRequest |
withVoiceRecordingConfiguration(VoiceRecordingConfiguration voiceRecordingConfiguration)
The person being recorded.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public StartContactRecordingRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the 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. You can find the instance ID in the Amazon Resource Name (ARN) of the 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 StartContactRecordingRequest 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 StartContactRecordingRequest 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 VoiceRecordingConfiguration getVoiceRecordingConfiguration()
The person being recorded.
The person being recorded.
public void setVoiceRecordingConfiguration(VoiceRecordingConfiguration voiceRecordingConfiguration)
The person being recorded.
voiceRecordingConfiguration - The person being recorded.
public StartContactRecordingRequest withVoiceRecordingConfiguration(VoiceRecordingConfiguration voiceRecordingConfiguration)
The person being recorded.
Returns a reference to this object so that method calls can be chained together.
voiceRecordingConfiguration - The person being recorded.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object