@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) |
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) |
Map<String,String> |
getAttributes()
A custom key-value pair using an attribute map.
|
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.
|
int |
hashCode() |
void |
setAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
StartOutboundVoiceContactRequest |
withAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map.
|
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.
|
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.
contactFlowId
- The identifier of the contact flow for the outbound call.public String getContactFlowId()
The identifier of the contact flow for the outbound call.
public StartOutboundVoiceContactRequest withContactFlowId(String contactFlowId)
The identifier of the contact flow for the outbound call.
contactFlowId
- The identifier of the contact flow for the outbound call.public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
instanceId
- The identifier of the Amazon Connect instance.public String getInstanceId()
The identifier of the Amazon Connect instance.
public StartOutboundVoiceContactRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
instanceId
- The identifier of the Amazon Connect 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. If the contact is disconnected, a new contact is started.
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. If the
contact is disconnected, a new contact is started.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. If the contact is disconnected, a new contact is started.
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. If the contact is disconnected, a new contact is started.
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. If the
contact is disconnected, a new contact is started.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 String toString()
toString
in class Object
Object.toString()
public StartOutboundVoiceContactRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.