public class StartContactRecordingRequest extends AmazonWebServiceRequest implements java.io.Serializable
This API starts recording the contact when the agent joins the 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()
Who is 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)
Who is 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)
Who is being recorded.
|
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 StartContactRecordingRequest 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 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()
Who is being recorded.
Who is being recorded.
public void setVoiceRecordingConfiguration(VoiceRecordingConfiguration voiceRecordingConfiguration)
Who is being recorded.
voiceRecordingConfiguration
- Who is being recorded.
public StartContactRecordingRequest withVoiceRecordingConfiguration(VoiceRecordingConfiguration voiceRecordingConfiguration)
Who is being recorded.
Returns a reference to this object so that method calls can be chained together.
voiceRecordingConfiguration
- Who is being recorded.
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.