public class Instance
extends java.lang.Object
implements java.io.Serializable
The Amazon Connect instance.
Constructor and Description |
---|
Instance() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the instance.
|
java.util.Date |
getCreatedTime()
When the instance was created.
|
java.lang.String |
getId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getIdentityManagementType()
The identity management type.
|
java.lang.Boolean |
getInboundCallsEnabled()
Whether inbound calls are enabled.
|
java.lang.String |
getInstanceAlias()
The alias of instance.
|
java.lang.String |
getInstanceStatus()
The state of the instance.
|
java.lang.Boolean |
getOutboundCallsEnabled()
Whether outbound calls are enabled.
|
java.lang.String |
getServiceRole()
The service role of the instance.
|
InstanceStatusReason |
getStatusReason()
Relevant details why the instance was not successfully created.
|
int |
hashCode() |
java.lang.Boolean |
isInboundCallsEnabled()
Whether inbound calls are enabled.
|
java.lang.Boolean |
isOutboundCallsEnabled()
Whether outbound calls are enabled.
|
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance.
|
void |
setCreatedTime(java.util.Date createdTime)
When the instance was created.
|
void |
setId(java.lang.String id)
The identifier of the Amazon Connect instance.
|
void |
setIdentityManagementType(DirectoryType identityManagementType)
The identity management type.
|
void |
setIdentityManagementType(java.lang.String identityManagementType)
The identity management type.
|
void |
setInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Whether inbound calls are enabled.
|
void |
setInstanceAlias(java.lang.String instanceAlias)
The alias of instance.
|
void |
setInstanceStatus(InstanceStatus instanceStatus)
The state of the instance.
|
void |
setInstanceStatus(java.lang.String instanceStatus)
The state of the instance.
|
void |
setOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Whether outbound calls are enabled.
|
void |
setServiceRole(java.lang.String serviceRole)
The service role of the instance.
|
void |
setStatusReason(InstanceStatusReason statusReason)
Relevant details why the instance was not successfully created.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Instance |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance.
|
Instance |
withCreatedTime(java.util.Date createdTime)
When the instance was created.
|
Instance |
withId(java.lang.String id)
The identifier of the Amazon Connect instance.
|
Instance |
withIdentityManagementType(DirectoryType identityManagementType)
The identity management type.
|
Instance |
withIdentityManagementType(java.lang.String identityManagementType)
The identity management type.
|
Instance |
withInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Whether inbound calls are enabled.
|
Instance |
withInstanceAlias(java.lang.String instanceAlias)
The alias of instance.
|
Instance |
withInstanceStatus(InstanceStatus instanceStatus)
The state of the instance.
|
Instance |
withInstanceStatus(java.lang.String instanceStatus)
The state of the instance.
|
Instance |
withOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Whether outbound calls are enabled.
|
Instance |
withServiceRole(java.lang.String serviceRole)
The service role of the instance.
|
Instance |
withStatusReason(InstanceStatusReason statusReason)
Relevant details why the instance was not successfully created.
|
public java.lang.String getId()
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance.
public void setId(java.lang.String id)
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
id
- The identifier of the Amazon Connect instance.
public Instance withId(java.lang.String id)
The identifier of the Amazon Connect instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
id
- The identifier of the Amazon Connect instance.
public java.lang.String getArn()
The Amazon Resource Name (ARN) of the instance.
The Amazon Resource Name (ARN) of the instance.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance.
arn
- The Amazon Resource Name (ARN) of the instance.
public Instance withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
arn
- The Amazon Resource Name (ARN) of the instance.
public java.lang.String getIdentityManagementType()
The identity management type.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
The identity management type.
DirectoryType
public void setIdentityManagementType(java.lang.String identityManagementType)
The identity management type.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
identityManagementType
- The identity management type.
DirectoryType
public Instance withIdentityManagementType(java.lang.String identityManagementType)
The identity management type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
identityManagementType
- The identity management type.
DirectoryType
public void setIdentityManagementType(DirectoryType identityManagementType)
The identity management type.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
identityManagementType
- The identity management type.
DirectoryType
public Instance withIdentityManagementType(DirectoryType identityManagementType)
The identity management type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
identityManagementType
- The identity management type.
DirectoryType
public java.lang.String getInstanceAlias()
The alias of instance.
Constraints:
Length: 1 - 62
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$
The alias of instance.
public void setInstanceAlias(java.lang.String instanceAlias)
The alias of instance.
Constraints:
Length: 1 - 62
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$
instanceAlias
- The alias of instance.
public Instance withInstanceAlias(java.lang.String instanceAlias)
The alias of 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 alias of instance.
public java.util.Date getCreatedTime()
When the instance was created.
When the instance was created.
public void setCreatedTime(java.util.Date createdTime)
When the instance was created.
createdTime
- When the instance was created.
public Instance withCreatedTime(java.util.Date createdTime)
When the instance was created.
Returns a reference to this object so that method calls can be chained together.
createdTime
- When the instance was created.
public java.lang.String getServiceRole()
The service role of the instance.
The service role of the instance.
public void setServiceRole(java.lang.String serviceRole)
The service role of the instance.
serviceRole
- The service role of the instance.
public Instance withServiceRole(java.lang.String serviceRole)
The service role of the instance.
Returns a reference to this object so that method calls can be chained together.
serviceRole
- The service role of the instance.
public java.lang.String getInstanceStatus()
The state of the instance.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED
The state of the instance.
InstanceStatus
public void setInstanceStatus(java.lang.String instanceStatus)
The state of the instance.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED
instanceStatus
- The state of the instance.
InstanceStatus
public Instance withInstanceStatus(java.lang.String instanceStatus)
The state of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED
instanceStatus
- The state of the instance.
InstanceStatus
public void setInstanceStatus(InstanceStatus instanceStatus)
The state of the instance.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED
instanceStatus
- The state of the instance.
InstanceStatus
public Instance withInstanceStatus(InstanceStatus instanceStatus)
The state of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED
instanceStatus
- The state of the instance.
InstanceStatus
public InstanceStatusReason getStatusReason()
Relevant details why the instance was not successfully created.
Relevant details why the instance was not successfully created.
public void setStatusReason(InstanceStatusReason statusReason)
Relevant details why the instance was not successfully created.
statusReason
- Relevant details why the instance was not successfully created.
public Instance withStatusReason(InstanceStatusReason statusReason)
Relevant details why the instance was not successfully created.
Returns a reference to this object so that method calls can be chained together.
statusReason
- Relevant details why the instance was not successfully created.
public java.lang.Boolean isInboundCallsEnabled()
Whether inbound calls are enabled.
Whether inbound calls are enabled.
public java.lang.Boolean getInboundCallsEnabled()
Whether inbound calls are enabled.
Whether inbound calls are enabled.
public void setInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Whether inbound calls are enabled.
inboundCallsEnabled
- Whether inbound calls are enabled.
public Instance withInboundCallsEnabled(java.lang.Boolean inboundCallsEnabled)
Whether inbound calls are enabled.
Returns a reference to this object so that method calls can be chained together.
inboundCallsEnabled
- Whether inbound calls are enabled.
public java.lang.Boolean isOutboundCallsEnabled()
Whether outbound calls are enabled.
Whether outbound calls are enabled.
public java.lang.Boolean getOutboundCallsEnabled()
Whether outbound calls are enabled.
Whether outbound calls are enabled.
public void setOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Whether outbound calls are enabled.
outboundCallsEnabled
- Whether outbound calls are enabled.
public Instance withOutboundCallsEnabled(java.lang.Boolean outboundCallsEnabled)
Whether outbound calls are enabled.
Returns a reference to this object so that method calls can be chained together.
outboundCallsEnabled
- Whether outbound calls are enabled.
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.