public class CreateInstanceRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Initiates an Amazon Connect instance with all the supported channels enabled. It does not attach any storage, such as Amazon Simple Storage Service (Amazon S3) or Amazon Kinesis. It also does not allow for any configurations on features, such as Contact Lens for Amazon Connect.
Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.
| Constructor and Description |
|---|
CreateInstanceRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientToken()
The idempotency token.
|
java.lang.String |
getDirectoryId()
The identifier for the directory.
|
java.lang.String |
getIdentityManagementType()
The type of identity management for your Amazon Connect users.
|
java.lang.Boolean |
getInboundCallsEnabled()
Your contact center handles incoming contacts.
|
java.lang.String |
getInstanceAlias()
The name for your instance.
|
java.lang.Boolean |
getOutboundCallsEnabled()
Your contact center allows outbound calls.
|
int |
hashCode() |
java.lang.Boolean |
isInboundCallsEnabled()
Your contact center handles incoming contacts.
|
java.lang.Boolean |
isOutboundCallsEnabled()
Your contact center allows outbound calls.
|
void |
setClientToken(java.lang.String clientToken)
The idempotency token.
|
void |
setDirectoryId(java.lang.String directoryId)
The identifier for the directory.
|
void |
setIdentityManagementType(DirectoryType identityManagementType)
The type of identity management for your Amazon Connect users.
|
void |
setIdentityManagementType(java.lang.String identityManagementType)
The type of identity management for your Amazon Connect users.
|
void |
setInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Your contact center handles incoming contacts.
|
void |
setInstanceAlias(java.lang.String instanceAlias)
The name for your instance.
|
void |
setOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Your contact center allows outbound calls.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateInstanceRequest |
withClientToken(java.lang.String clientToken)
The idempotency token.
|
CreateInstanceRequest |
withDirectoryId(java.lang.String directoryId)
The identifier for the directory.
|
CreateInstanceRequest |
withIdentityManagementType(DirectoryType identityManagementType)
The type of identity management for your Amazon Connect users.
|
CreateInstanceRequest |
withIdentityManagementType(java.lang.String identityManagementType)
The type of identity management for your Amazon Connect users.
|
CreateInstanceRequest |
withInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Your contact center handles incoming contacts.
|
CreateInstanceRequest |
withInstanceAlias(java.lang.String instanceAlias)
The name for your instance.
|
CreateInstanceRequest |
withOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Your contact center allows outbound calls.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getClientToken()
The idempotency token.
Constraints:
Length: - 500
The idempotency token.
public void setClientToken(java.lang.String clientToken)
The idempotency token.
Constraints:
Length: - 500
clientToken - The idempotency token.
public CreateInstanceRequest withClientToken(java.lang.String clientToken)
The idempotency token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 500
clientToken - The idempotency token.
public java.lang.String getIdentityManagementType()
The type of identity management for your Amazon Connect users.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
The type of identity management for your Amazon Connect users.
DirectoryTypepublic void setIdentityManagementType(java.lang.String identityManagementType)
The type of identity management for your Amazon Connect users.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
identityManagementType - The type of identity management for your Amazon Connect users.
DirectoryTypepublic CreateInstanceRequest withIdentityManagementType(java.lang.String identityManagementType)
The type of identity management for your Amazon Connect users.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
identityManagementType - The type of identity management for your Amazon Connect users.
DirectoryTypepublic void setIdentityManagementType(DirectoryType identityManagementType)
The type of identity management for your Amazon Connect users.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
identityManagementType - The type of identity management for your Amazon Connect users.
DirectoryTypepublic CreateInstanceRequest withIdentityManagementType(DirectoryType identityManagementType)
The type of identity management for your Amazon Connect users.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
identityManagementType - The type of identity management for your Amazon Connect users.
DirectoryTypepublic java.lang.String getInstanceAlias()
The name for your instance.
Constraints:
Length: 1 - 45
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$
The name for your instance.
public void setInstanceAlias(java.lang.String instanceAlias)
The name for your instance.
Constraints:
Length: 1 - 45
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$
instanceAlias - The name for your instance.
public CreateInstanceRequest withInstanceAlias(java.lang.String instanceAlias)
The name for your instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 45
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$
instanceAlias - The name for your instance.
public java.lang.String getDirectoryId()
The identifier for the directory.
Constraints:
Length: 12 - 12
Pattern: ^d-[0-9a-f]{10}$
The identifier for the directory.
public void setDirectoryId(java.lang.String directoryId)
The identifier for the directory.
Constraints:
Length: 12 - 12
Pattern: ^d-[0-9a-f]{10}$
directoryId - The identifier for the directory.
public CreateInstanceRequest withDirectoryId(java.lang.String directoryId)
The identifier for the directory.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 12 - 12
Pattern: ^d-[0-9a-f]{10}$
directoryId - The identifier for the directory.
public java.lang.Boolean isInboundCallsEnabled()
Your contact center handles incoming contacts.
Your contact center handles incoming contacts.
public java.lang.Boolean getInboundCallsEnabled()
Your contact center handles incoming contacts.
Your contact center handles incoming contacts.
public void setInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Your contact center handles incoming contacts.
inboundCallsEnabled - Your contact center handles incoming contacts.
public CreateInstanceRequest withInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Your contact center handles incoming contacts.
Returns a reference to this object so that method calls can be chained together.
inboundCallsEnabled - Your contact center handles incoming contacts.
public java.lang.Boolean isOutboundCallsEnabled()
Your contact center allows outbound calls.
Your contact center allows outbound calls.
public java.lang.Boolean getOutboundCallsEnabled()
Your contact center allows outbound calls.
Your contact center allows outbound calls.
public void setOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Your contact center allows outbound calls.
outboundCallsEnabled - Your contact center allows outbound calls.
public CreateInstanceRequest withOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Your contact center allows outbound calls.
Returns a reference to this object so that method calls can be chained together.
outboundCallsEnabled - Your contact center allows outbound calls.
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