public class CreateInstanceRequest extends 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 S3, or Kinesis) or allow for any configurations on features such as Contact Lens for Amazon Connect.
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()
Whether your contact center handles incoming contacts.
|
java.lang.String |
getInstanceAlias()
The name for your instance.
|
java.lang.Boolean |
getOutboundCallsEnabled()
Whether your contact center allows outbound calls.
|
int |
hashCode() |
java.lang.Boolean |
isInboundCallsEnabled()
Whether your contact center handles incoming contacts.
|
java.lang.Boolean |
isOutboundCallsEnabled()
Whether 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)
Whether your contact center handles incoming contacts.
|
void |
setInstanceAlias(java.lang.String instanceAlias)
The name for your instance.
|
void |
setOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Whether 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)
Whether your contact center handles incoming contacts.
|
CreateInstanceRequest |
withInstanceAlias(java.lang.String instanceAlias)
The name for your instance.
|
CreateInstanceRequest |
withOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Whether your contact center allows outbound calls.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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.
DirectoryType
public 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.
DirectoryType
public 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.
DirectoryType
public 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.
DirectoryType
public 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.
DirectoryType
public java.lang.String getInstanceAlias()
The name for your instance.
Constraints:
Length: 1 - 62
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 - 62
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 - 62
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()
Whether your contact center handles incoming contacts.
Whether your contact center handles incoming contacts.
public java.lang.Boolean getInboundCallsEnabled()
Whether your contact center handles incoming contacts.
Whether your contact center handles incoming contacts.
public void setInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Whether your contact center handles incoming contacts.
inboundCallsEnabled
- Whether your contact center handles incoming contacts.
public CreateInstanceRequest withInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Whether your contact center handles incoming contacts.
Returns a reference to this object so that method calls can be chained together.
inboundCallsEnabled
- Whether your contact center handles incoming contacts.
public java.lang.Boolean isOutboundCallsEnabled()
Whether your contact center allows outbound calls.
Whether your contact center allows outbound calls.
public java.lang.Boolean getOutboundCallsEnabled()
Whether your contact center allows outbound calls.
Whether your contact center allows outbound calls.
public void setOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Whether your contact center allows outbound calls.
outboundCallsEnabled
- Whether your contact center allows outbound calls.
public CreateInstanceRequest withOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Whether your contact center allows outbound calls.
Returns a reference to this object so that method calls can be chained together.
outboundCallsEnabled
- Whether your contact center allows outbound calls.
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.