@Generated(value="software.amazon.awssdk:codegen") public final class Instance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Instance.Builder,Instance>
The Amazon Connect instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Instance.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the instance.
|
static Instance.Builder |
builder() |
Instant |
createdTime()
When the instance was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the Amazon Connect instance.
|
DirectoryType |
identityManagementType()
The identity management type.
|
String |
identityManagementTypeAsString()
The identity management type.
|
Boolean |
inboundCallsEnabled()
Whether inbound calls are enabled.
|
String |
instanceAlias()
The alias of instance.
|
InstanceStatus |
instanceStatus()
The state of the instance.
|
String |
instanceStatusAsString()
The state of the instance.
|
Boolean |
outboundCallsEnabled()
Whether outbound calls are enabled.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Instance.Builder> |
serializableBuilderClass() |
String |
serviceRole()
The service role of the instance.
|
InstanceStatusReason |
statusReason()
Relevant details why the instance was not successfully created.
|
Instance.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
public final String arn()
The Amazon Resource Name (ARN) of the instance.
public final DirectoryType identityManagementType()
The identity management type.
If the service returns an enum value that is not available in the current SDK version,
identityManagementType will return DirectoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from identityManagementTypeAsString().
DirectoryTypepublic final String identityManagementTypeAsString()
The identity management type.
If the service returns an enum value that is not available in the current SDK version,
identityManagementType will return DirectoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from identityManagementTypeAsString().
DirectoryTypepublic final String instanceAlias()
The alias of instance.
public final Instant createdTime()
When the instance was created.
public final String serviceRole()
The service role of the instance.
public final InstanceStatus instanceStatus()
The state of the instance.
If the service returns an enum value that is not available in the current SDK version, instanceStatus
will return InstanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from instanceStatusAsString().
InstanceStatuspublic final String instanceStatusAsString()
The state of the instance.
If the service returns an enum value that is not available in the current SDK version, instanceStatus
will return InstanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from instanceStatusAsString().
InstanceStatuspublic final InstanceStatusReason statusReason()
Relevant details why the instance was not successfully created.
public final Boolean inboundCallsEnabled()
Whether inbound calls are enabled.
public final Boolean outboundCallsEnabled()
Whether outbound calls are enabled.
public Instance.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Instance.Builder,Instance>public static Instance.Builder builder()
public static Class<? extends Instance.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.