public class CreateIntegrationAssociationRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Creates an Amazon Web Services resource association with an Amazon Connect instance.
| Constructor and Description |
|---|
CreateIntegrationAssociationRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateIntegrationAssociationRequest |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
CreateIntegrationAssociationRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getIntegrationArn()
The Amazon Resource Name (ARN) of the integration.
|
java.lang.String |
getIntegrationType()
The type of information to be ingested.
|
java.lang.String |
getSourceApplicationName()
The name of the external application.
|
java.lang.String |
getSourceApplicationUrl()
The URL for the external application.
|
java.lang.String |
getSourceType()
The type of the data source.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setIntegrationArn(java.lang.String integrationArn)
The Amazon Resource Name (ARN) of the integration.
|
void |
setIntegrationType(IntegrationType integrationType)
The type of information to be ingested.
|
void |
setIntegrationType(java.lang.String integrationType)
The type of information to be ingested.
|
void |
setSourceApplicationName(java.lang.String sourceApplicationName)
The name of the external application.
|
void |
setSourceApplicationUrl(java.lang.String sourceApplicationUrl)
The URL for the external application.
|
void |
setSourceType(SourceType sourceType)
The type of the data source.
|
void |
setSourceType(java.lang.String sourceType)
The type of the data source.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateIntegrationAssociationRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
CreateIntegrationAssociationRequest |
withIntegrationArn(java.lang.String integrationArn)
The Amazon Resource Name (ARN) of the integration.
|
CreateIntegrationAssociationRequest |
withIntegrationType(IntegrationType integrationType)
The type of information to be ingested.
|
CreateIntegrationAssociationRequest |
withIntegrationType(java.lang.String integrationType)
The type of information to be ingested.
|
CreateIntegrationAssociationRequest |
withSourceApplicationName(java.lang.String sourceApplicationName)
The name of the external application.
|
CreateIntegrationAssociationRequest |
withSourceApplicationUrl(java.lang.String sourceApplicationUrl)
The URL for the external application.
|
CreateIntegrationAssociationRequest |
withSourceType(SourceType sourceType)
The type of the data source.
|
CreateIntegrationAssociationRequest |
withSourceType(java.lang.String sourceType)
The type of the data source.
|
CreateIntegrationAssociationRequest |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
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 CreateIntegrationAssociationRequest 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 getIntegrationType()
The type of information to be ingested.
Constraints:
Allowed Values: EVENT, VOICE_ID, PINPOINT_APP, WISDOM_ASSISTANT,
WISDOM_KNOWLEDGE_BASE, CASES_DOMAIN
The type of information to be ingested.
IntegrationTypepublic void setIntegrationType(java.lang.String integrationType)
The type of information to be ingested.
Constraints:
Allowed Values: EVENT, VOICE_ID, PINPOINT_APP, WISDOM_ASSISTANT,
WISDOM_KNOWLEDGE_BASE, CASES_DOMAIN
integrationType - The type of information to be ingested.
IntegrationTypepublic CreateIntegrationAssociationRequest withIntegrationType(java.lang.String integrationType)
The type of information to be ingested.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: EVENT, VOICE_ID, PINPOINT_APP, WISDOM_ASSISTANT,
WISDOM_KNOWLEDGE_BASE, CASES_DOMAIN
integrationType - The type of information to be ingested.
IntegrationTypepublic void setIntegrationType(IntegrationType integrationType)
The type of information to be ingested.
Constraints:
Allowed Values: EVENT, VOICE_ID, PINPOINT_APP, WISDOM_ASSISTANT,
WISDOM_KNOWLEDGE_BASE, CASES_DOMAIN
integrationType - The type of information to be ingested.
IntegrationTypepublic CreateIntegrationAssociationRequest withIntegrationType(IntegrationType integrationType)
The type of information to be ingested.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: EVENT, VOICE_ID, PINPOINT_APP, WISDOM_ASSISTANT,
WISDOM_KNOWLEDGE_BASE, CASES_DOMAIN
integrationType - The type of information to be ingested.
IntegrationTypepublic java.lang.String getIntegrationArn()
The Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.
The Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.
public void setIntegrationArn(java.lang.String integrationArn)
The Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.
integrationArn - The Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.
public CreateIntegrationAssociationRequest withIntegrationArn(java.lang.String integrationArn)
The Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.
Returns a reference to this object so that method calls can be chained together.
integrationArn - The Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.
public java.lang.String getSourceApplicationUrl()
The URL for the external application. This field is only required for the EVENT integration type.
Constraints:
Length: 1 - 2000
The URL for the external application. This field is only required for the EVENT integration type.
public void setSourceApplicationUrl(java.lang.String sourceApplicationUrl)
The URL for the external application. This field is only required for the EVENT integration type.
Constraints:
Length: 1 - 2000
sourceApplicationUrl - The URL for the external application. This field is only required for the EVENT integration type.
public CreateIntegrationAssociationRequest withSourceApplicationUrl(java.lang.String sourceApplicationUrl)
The URL for the external application. This field is only required for the EVENT integration type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2000
sourceApplicationUrl - The URL for the external application. This field is only required for the EVENT integration type.
public java.lang.String getSourceApplicationName()
The name of the external application. This field is only required for the EVENT integration type.
Constraints:
Length: 1 - 100
Pattern: ^[a-zA-Z0-9_ -]+$
The name of the external application. This field is only required for the EVENT integration type.
public void setSourceApplicationName(java.lang.String sourceApplicationName)
The name of the external application. This field is only required for the EVENT integration type.
Constraints:
Length: 1 - 100
Pattern: ^[a-zA-Z0-9_ -]+$
sourceApplicationName - The name of the external application. This field is only required for the EVENT integration type.
public CreateIntegrationAssociationRequest withSourceApplicationName(java.lang.String sourceApplicationName)
The name of the external application. This field is only required for the EVENT integration type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[a-zA-Z0-9_ -]+$
sourceApplicationName - The name of the external application. This field is only required for the EVENT integration type.
public java.lang.String getSourceType()
The type of the data source. This field is only required for the EVENT integration type.
Constraints:
Allowed Values: SALESFORCE, ZENDESK
The type of the data source. This field is only required for the EVENT integration type.
SourceTypepublic void setSourceType(java.lang.String sourceType)
The type of the data source. This field is only required for the EVENT integration type.
Constraints:
Allowed Values: SALESFORCE, ZENDESK
sourceType - The type of the data source. This field is only required for the EVENT integration type.
SourceTypepublic CreateIntegrationAssociationRequest withSourceType(java.lang.String sourceType)
The type of the data source. This field is only required for the EVENT integration type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SALESFORCE, ZENDESK
sourceType - The type of the data source. This field is only required for the EVENT integration type.
SourceTypepublic void setSourceType(SourceType sourceType)
The type of the data source. This field is only required for the EVENT integration type.
Constraints:
Allowed Values: SALESFORCE, ZENDESK
sourceType - The type of the data source. This field is only required for the EVENT integration type.
SourceTypepublic CreateIntegrationAssociationRequest withSourceType(SourceType sourceType)
The type of the data source. This field is only required for the EVENT integration type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SALESFORCE, ZENDESK
sourceType - The type of the data source. This field is only required for the EVENT integration type.
SourceTypepublic java.util.Map<java.lang.String,java.lang.String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public CreateIntegrationAssociationRequest withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Returns a reference to this object so that method calls can be chained together.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public CreateIntegrationAssociationRequest addTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Tags.value - The corresponding value of the entry to be added into Tags.public CreateIntegrationAssociationRequest clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
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