Class Instance
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.Instance
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Instance.Builder,Instance>
@Generated("software.amazon.awssdk:codegen") public final class Instance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Instance.Builder,Instance>
The Amazon Connect instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstance.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the instance.static Instance.Builderbuilder()InstantcreatedTime()When the instance was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the Amazon Connect instance.DirectoryTypeidentityManagementType()The identity management type.StringidentityManagementTypeAsString()The identity management type.BooleaninboundCallsEnabled()Whether inbound calls are enabled.StringinstanceAccessUrl()This URL allows contact center users to access the Amazon Connect admin website.StringinstanceAlias()The alias of instance.InstanceStatusinstanceStatus()The state of the instance.StringinstanceStatusAsString()The state of the instance.BooleanoutboundCallsEnabled()Whether outbound calls are enabled.List<SdkField<?>>sdkFields()static Class<? extends Instance.Builder>serializableBuilderClass()StringserviceRole()The service role of the instance.InstanceStatusReasonstatusReason()Relevant details why the instance was not successfully created.Instance.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Returns:
- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the instance.
- Returns:
- The Amazon Resource Name (ARN) of the instance.
-
identityManagementType
public final DirectoryType identityManagementType()
The identity management type.
If the service returns an enum value that is not available in the current SDK version,
identityManagementTypewill returnDirectoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromidentityManagementTypeAsString().- Returns:
- The identity management type.
- See Also:
DirectoryType
-
identityManagementTypeAsString
public final String identityManagementTypeAsString()
The identity management type.
If the service returns an enum value that is not available in the current SDK version,
identityManagementTypewill returnDirectoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromidentityManagementTypeAsString().- Returns:
- The identity management type.
- See Also:
DirectoryType
-
instanceAlias
public final String instanceAlias()
The alias of instance.
- Returns:
- The alias of instance.
-
createdTime
public final Instant createdTime()
When the instance was created.
- Returns:
- When the instance was created.
-
serviceRole
public final String serviceRole()
The service role of the instance.
- Returns:
- The service role of the instance.
-
instanceStatus
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,
instanceStatuswill returnInstanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceStatusAsString().- Returns:
- The state of the instance.
- See Also:
InstanceStatus
-
instanceStatusAsString
public final String instanceStatusAsString()
The state of the instance.
If the service returns an enum value that is not available in the current SDK version,
instanceStatuswill returnInstanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceStatusAsString().- Returns:
- The state of the instance.
- See Also:
InstanceStatus
-
statusReason
public final InstanceStatusReason statusReason()
Relevant details why the instance was not successfully created.
- Returns:
- Relevant details why the instance was not successfully created.
-
inboundCallsEnabled
public final Boolean inboundCallsEnabled()
Whether inbound calls are enabled.
- Returns:
- Whether inbound calls are enabled.
-
outboundCallsEnabled
public final Boolean outboundCallsEnabled()
Whether outbound calls are enabled.
- Returns:
- Whether outbound calls are enabled.
-
instanceAccessUrl
public final String instanceAccessUrl()
This URL allows contact center users to access the Amazon Connect admin website.
- Returns:
- This URL allows contact center users to access the Amazon Connect admin website.
-
toBuilder
public Instance.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Instance.Builder,Instance>
-
builder
public static Instance.Builder builder()
-
serializableBuilderClass
public static Class<? extends Instance.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-