@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartOutboundVoiceContactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartOutboundVoiceContactRequest() |
Modifier and Type | Method and Description |
---|---|
StartOutboundVoiceContactRequest |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
StartOutboundVoiceContactRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
StartOutboundVoiceContactRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AnswerMachineDetectionConfig |
getAnswerMachineDetectionConfig()
Configuration of the answering machine detection for this outbound call.
|
Map<String,String> |
getAttributes()
A custom key-value pair using an attribute map.
|
String |
getCampaignId()
The campaign identifier of the outbound communication.
|
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getContactFlowId()
The identifier of the contact flow for the outbound call.
|
String |
getDestinationPhoneNumber()
The phone number of the customer, in E.164 format.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getQueueId()
The queue for the call.
|
String |
getSourcePhoneNumber()
The phone number associated with the Amazon Connect instance, in E.164 format.
|
String |
getTrafficType()
Denotes the class of traffic.
|
int |
hashCode() |
void |
setAnswerMachineDetectionConfig(AnswerMachineDetectionConfig answerMachineDetectionConfig)
Configuration of the answering machine detection for this outbound call.
|
void |
setAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map.
|
void |
setCampaignId(String campaignId)
The campaign identifier of the outbound communication.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setContactFlowId(String contactFlowId)
The identifier of the contact flow for the outbound call.
|
void |
setDestinationPhoneNumber(String destinationPhoneNumber)
The phone number of the customer, in E.164 format.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setQueueId(String queueId)
The queue for the call.
|
void |
setSourcePhoneNumber(String sourcePhoneNumber)
The phone number associated with the Amazon Connect instance, in E.164 format.
|
void |
setTrafficType(String trafficType)
Denotes the class of traffic.
|
String |
toString()
Returns a string representation of this object.
|
StartOutboundVoiceContactRequest |
withAnswerMachineDetectionConfig(AnswerMachineDetectionConfig answerMachineDetectionConfig)
Configuration of the answering machine detection for this outbound call.
|
StartOutboundVoiceContactRequest |
withAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map.
|
StartOutboundVoiceContactRequest |
withCampaignId(String campaignId)
The campaign identifier of the outbound communication.
|
StartOutboundVoiceContactRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
StartOutboundVoiceContactRequest |
withContactFlowId(String contactFlowId)
The identifier of the contact flow for the outbound call.
|
StartOutboundVoiceContactRequest |
withDestinationPhoneNumber(String destinationPhoneNumber)
The phone number of the customer, in E.164 format.
|
StartOutboundVoiceContactRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
StartOutboundVoiceContactRequest |
withQueueId(String queueId)
The queue for the call.
|
StartOutboundVoiceContactRequest |
withSourcePhoneNumber(String sourcePhoneNumber)
The phone number associated with the Amazon Connect instance, in E.164 format.
|
StartOutboundVoiceContactRequest |
withTrafficType(String trafficType)
Denotes the class of traffic.
|
StartOutboundVoiceContactRequest |
withTrafficType(TrafficType trafficType)
Denotes the class of traffic.
|
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, withSdkRequestTimeout
public void setDestinationPhoneNumber(String destinationPhoneNumber)
The phone number of the customer, in E.164 format.
destinationPhoneNumber
- The phone number of the customer, in E.164 format.public String getDestinationPhoneNumber()
The phone number of the customer, in E.164 format.
public StartOutboundVoiceContactRequest withDestinationPhoneNumber(String destinationPhoneNumber)
The phone number of the customer, in E.164 format.
destinationPhoneNumber
- The phone number of the customer, in E.164 format.public void setContactFlowId(String contactFlowId)
The identifier of the contact flow for the outbound call. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
contactFlowId
- The identifier of the contact flow for the outbound call. To see the ContactFlowId in the Amazon Connect
console user interface, on the navigation menu go to Routing, Contact Flows. Choose the
contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow
information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
public String getContactFlowId()
The identifier of the contact flow for the outbound call. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
public StartOutboundVoiceContactRequest withContactFlowId(String contactFlowId)
The identifier of the contact flow for the outbound call. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
contactFlowId
- The identifier of the contact flow for the outbound call. To see the ContactFlowId in the Amazon Connect
console user interface, on the navigation menu go to Routing, Contact Flows. Choose the
contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow
information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
public StartOutboundVoiceContactRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. The token
is valid for 7 days after creation. If a contact is already started, the contact ID is returned.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
public StartOutboundVoiceContactRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. The token
is valid for 7 days after creation. If a contact is already started, the contact ID is returned.public void setSourcePhoneNumber(String sourcePhoneNumber)
The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.
sourcePhoneNumber
- The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a
source phone number, you must specify a queue.public String getSourcePhoneNumber()
The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.
public StartOutboundVoiceContactRequest withSourcePhoneNumber(String sourcePhoneNumber)
The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.
sourcePhoneNumber
- The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a
source phone number, you must specify a queue.public void setQueueId(String queueId)
The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number.
queueId
- The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number
specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If
you do not specify a queue, you must specify a source phone number.public String getQueueId()
The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number.
public StartOutboundVoiceContactRequest withQueueId(String queueId)
The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number.
queueId
- The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number
specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If
you do not specify a queue, you must specify a source phone number.public Map<String,String> getAttributes()
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
public void setAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
attributes
- A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and
can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
public StartOutboundVoiceContactRequest withAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
attributes
- A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and
can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
public StartOutboundVoiceContactRequest addAttributesEntry(String key, String value)
public StartOutboundVoiceContactRequest clearAttributesEntries()
public void setAnswerMachineDetectionConfig(AnswerMachineDetectionConfig answerMachineDetectionConfig)
Configuration of the answering machine detection for this outbound call.
answerMachineDetectionConfig
- Configuration of the answering machine detection for this outbound call.public AnswerMachineDetectionConfig getAnswerMachineDetectionConfig()
Configuration of the answering machine detection for this outbound call.
public StartOutboundVoiceContactRequest withAnswerMachineDetectionConfig(AnswerMachineDetectionConfig answerMachineDetectionConfig)
Configuration of the answering machine detection for this outbound call.
answerMachineDetectionConfig
- Configuration of the answering machine detection for this outbound call.public void setCampaignId(String campaignId)
The campaign identifier of the outbound communication.
campaignId
- The campaign identifier of the outbound communication.public String getCampaignId()
The campaign identifier of the outbound communication.
public StartOutboundVoiceContactRequest withCampaignId(String campaignId)
The campaign identifier of the outbound communication.
campaignId
- The campaign identifier of the outbound communication.public void setTrafficType(String trafficType)
Denotes the class of traffic. Calls with different traffic types are handled differently by Amazon Connect. The
default value is GENERAL
. Use CAMPAIGN
if EnableAnswerMachineDetection
is
set to true
. For all other cases, use GENERAL
.
trafficType
- Denotes the class of traffic. Calls with different traffic types are handled differently by Amazon
Connect. The default value is GENERAL
. Use CAMPAIGN
if
EnableAnswerMachineDetection
is set to true
. For all other cases, use
GENERAL
.TrafficType
public String getTrafficType()
Denotes the class of traffic. Calls with different traffic types are handled differently by Amazon Connect. The
default value is GENERAL
. Use CAMPAIGN
if EnableAnswerMachineDetection
is
set to true
. For all other cases, use GENERAL
.
GENERAL
. Use CAMPAIGN
if
EnableAnswerMachineDetection
is set to true
. For all other cases, use
GENERAL
.TrafficType
public StartOutboundVoiceContactRequest withTrafficType(String trafficType)
Denotes the class of traffic. Calls with different traffic types are handled differently by Amazon Connect. The
default value is GENERAL
. Use CAMPAIGN
if EnableAnswerMachineDetection
is
set to true
. For all other cases, use GENERAL
.
trafficType
- Denotes the class of traffic. Calls with different traffic types are handled differently by Amazon
Connect. The default value is GENERAL
. Use CAMPAIGN
if
EnableAnswerMachineDetection
is set to true
. For all other cases, use
GENERAL
.TrafficType
public StartOutboundVoiceContactRequest withTrafficType(TrafficType trafficType)
Denotes the class of traffic. Calls with different traffic types are handled differently by Amazon Connect. The
default value is GENERAL
. Use CAMPAIGN
if EnableAnswerMachineDetection
is
set to true
. For all other cases, use GENERAL
.
trafficType
- Denotes the class of traffic. Calls with different traffic types are handled differently by Amazon
Connect. The default value is GENERAL
. Use CAMPAIGN
if
EnableAnswerMachineDetection
is set to true
. For all other cases, use
GENERAL
.TrafficType
public String toString()
toString
in class Object
Object.toString()
public StartOutboundVoiceContactRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()