@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Instance extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon Connect instance.
Constructor and Description |
---|
Instance() |
Modifier and Type | Method and Description |
---|---|
Instance |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Instance |
clearTagsEntries()
Removes all the entries added into Tags.
|
Instance |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the instance.
|
Date |
getCreatedTime()
When the instance was created.
|
String |
getId()
The identifier of the Amazon Connect instance.
|
String |
getIdentityManagementType()
The identity management type.
|
Boolean |
getInboundCallsEnabled()
Whether inbound calls are enabled.
|
String |
getInstanceAccessUrl()
This URL allows contact center users to access the Amazon Connect admin website.
|
String |
getInstanceAlias()
The alias of instance.
|
String |
getInstanceStatus()
The state of the instance.
|
Boolean |
getOutboundCallsEnabled()
Whether outbound calls are enabled.
|
String |
getServiceRole()
The service role of the instance.
|
InstanceStatusReason |
getStatusReason()
Relevant details why the instance was not successfully created.
|
Map<String,String> |
getTags()
The tags of an instance.
|
int |
hashCode() |
Boolean |
isInboundCallsEnabled()
Whether inbound calls are enabled.
|
Boolean |
isOutboundCallsEnabled()
Whether outbound calls are enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the instance.
|
void |
setCreatedTime(Date createdTime)
When the instance was created.
|
void |
setId(String id)
The identifier of the Amazon Connect instance.
|
void |
setIdentityManagementType(String identityManagementType)
The identity management type.
|
void |
setInboundCallsEnabled(Boolean inboundCallsEnabled)
Whether inbound calls are enabled.
|
void |
setInstanceAccessUrl(String instanceAccessUrl)
This URL allows contact center users to access the Amazon Connect admin website.
|
void |
setInstanceAlias(String instanceAlias)
The alias of instance.
|
void |
setInstanceStatus(String instanceStatus)
The state of the instance.
|
void |
setOutboundCallsEnabled(Boolean outboundCallsEnabled)
Whether outbound calls are enabled.
|
void |
setServiceRole(String serviceRole)
The service role of the instance.
|
void |
setStatusReason(InstanceStatusReason statusReason)
Relevant details why the instance was not successfully created.
|
void |
setTags(Map<String,String> tags)
The tags of an instance.
|
String |
toString()
Returns a string representation of this object.
|
Instance |
withArn(String arn)
The Amazon Resource Name (ARN) of the instance.
|
Instance |
withCreatedTime(Date createdTime)
When the instance was created.
|
Instance |
withId(String id)
The identifier of the Amazon Connect instance.
|
Instance |
withIdentityManagementType(DirectoryType identityManagementType)
The identity management type.
|
Instance |
withIdentityManagementType(String identityManagementType)
The identity management type.
|
Instance |
withInboundCallsEnabled(Boolean inboundCallsEnabled)
Whether inbound calls are enabled.
|
Instance |
withInstanceAccessUrl(String instanceAccessUrl)
This URL allows contact center users to access the Amazon Connect admin website.
|
Instance |
withInstanceAlias(String instanceAlias)
The alias of instance.
|
Instance |
withInstanceStatus(InstanceStatus instanceStatus)
The state of the instance.
|
Instance |
withInstanceStatus(String instanceStatus)
The state of the instance.
|
Instance |
withOutboundCallsEnabled(Boolean outboundCallsEnabled)
Whether outbound calls are enabled.
|
Instance |
withServiceRole(String serviceRole)
The service role of the instance.
|
Instance |
withStatusReason(InstanceStatusReason statusReason)
Relevant details why the instance was not successfully created.
|
Instance |
withTags(Map<String,String> tags)
The tags of an instance.
|
public void setId(String id)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
id
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public Instance withId(String id)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
id
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public void setArn(String arn)
The Amazon Resource Name (ARN) of the instance.
arn
- The Amazon Resource Name (ARN) of the instance.public String getArn()
The Amazon Resource Name (ARN) of the instance.
public Instance withArn(String arn)
The Amazon Resource Name (ARN) of the instance.
arn
- The Amazon Resource Name (ARN) of the instance.public void setIdentityManagementType(String identityManagementType)
The identity management type.
identityManagementType
- The identity management type.DirectoryType
public String getIdentityManagementType()
The identity management type.
DirectoryType
public Instance withIdentityManagementType(String identityManagementType)
The identity management type.
identityManagementType
- The identity management type.DirectoryType
public Instance withIdentityManagementType(DirectoryType identityManagementType)
The identity management type.
identityManagementType
- The identity management type.DirectoryType
public void setInstanceAlias(String instanceAlias)
The alias of instance.
instanceAlias
- The alias of instance.public String getInstanceAlias()
The alias of instance.
public Instance withInstanceAlias(String instanceAlias)
The alias of instance.
instanceAlias
- The alias of instance.public void setCreatedTime(Date createdTime)
When the instance was created.
createdTime
- When the instance was created.public Date getCreatedTime()
When the instance was created.
public Instance withCreatedTime(Date createdTime)
When the instance was created.
createdTime
- When the instance was created.public void setServiceRole(String serviceRole)
The service role of the instance.
serviceRole
- The service role of the instance.public String getServiceRole()
The service role of the instance.
public Instance withServiceRole(String serviceRole)
The service role of the instance.
serviceRole
- The service role of the instance.public void setInstanceStatus(String instanceStatus)
The state of the instance.
instanceStatus
- The state of the instance.InstanceStatus
public String getInstanceStatus()
The state of the instance.
InstanceStatus
public Instance withInstanceStatus(String instanceStatus)
The state of the instance.
instanceStatus
- The state of the instance.InstanceStatus
public Instance withInstanceStatus(InstanceStatus instanceStatus)
The state of the instance.
instanceStatus
- The state of the instance.InstanceStatus
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 InstanceStatusReason getStatusReason()
Relevant details why the instance was not successfully created.
public Instance withStatusReason(InstanceStatusReason statusReason)
Relevant details why the instance was not successfully created.
statusReason
- Relevant details why the instance was not successfully created.public void setInboundCallsEnabled(Boolean inboundCallsEnabled)
Whether inbound calls are enabled.
inboundCallsEnabled
- Whether inbound calls are enabled.public Boolean getInboundCallsEnabled()
Whether inbound calls are enabled.
public Instance withInboundCallsEnabled(Boolean inboundCallsEnabled)
Whether inbound calls are enabled.
inboundCallsEnabled
- Whether inbound calls are enabled.public Boolean isInboundCallsEnabled()
Whether inbound calls are enabled.
public void setOutboundCallsEnabled(Boolean outboundCallsEnabled)
Whether outbound calls are enabled.
outboundCallsEnabled
- Whether outbound calls are enabled.public Boolean getOutboundCallsEnabled()
Whether outbound calls are enabled.
public Instance withOutboundCallsEnabled(Boolean outboundCallsEnabled)
Whether outbound calls are enabled.
outboundCallsEnabled
- Whether outbound calls are enabled.public Boolean isOutboundCallsEnabled()
Whether outbound calls are enabled.
public void setInstanceAccessUrl(String instanceAccessUrl)
This URL allows contact center users to access the Amazon Connect admin website.
instanceAccessUrl
- This URL allows contact center users to access the Amazon Connect admin website.public String getInstanceAccessUrl()
This URL allows contact center users to access the Amazon Connect admin website.
public Instance withInstanceAccessUrl(String instanceAccessUrl)
This URL allows contact center users to access the Amazon Connect admin website.
instanceAccessUrl
- This URL allows contact center users to access the Amazon Connect admin website.public Map<String,String> getTags()
The tags of an instance.
public void setTags(Map<String,String> tags)
The tags of an instance.
tags
- The tags of an instance.public Instance withTags(Map<String,String> tags)
The tags of an instance.
tags
- The tags of an instance.public Instance clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.