Interface Instance.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Instance.Builder,Instance>, SdkBuilder<Instance.Builder,Instance>, SdkPojo
Enclosing class:
Instance

public static interface Instance.Builder extends SdkPojo, CopyableBuilder<Instance.Builder,Instance>
  • Method Details

    • id

      The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

      Parameters:
      id - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the instance.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identityManagementType

      Instance.Builder identityManagementType(String identityManagementType)

      The identity management type.

      Parameters:
      identityManagementType - The identity management type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • identityManagementType

      Instance.Builder identityManagementType(DirectoryType identityManagementType)

      The identity management type.

      Parameters:
      identityManagementType - The identity management type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceAlias

      Instance.Builder instanceAlias(String instanceAlias)

      The alias of instance.

      Parameters:
      instanceAlias - The alias of instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTime

      Instance.Builder createdTime(Instant createdTime)

      When the instance was created.

      Parameters:
      createdTime - When the instance was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceRole

      Instance.Builder serviceRole(String serviceRole)

      The service role of the instance.

      Parameters:
      serviceRole - The service role of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceStatus

      Instance.Builder instanceStatus(String instanceStatus)

      The state of the instance.

      Parameters:
      instanceStatus - The state of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceStatus

      Instance.Builder instanceStatus(InstanceStatus instanceStatus)

      The state of the instance.

      Parameters:
      instanceStatus - The state of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      Instance.Builder statusReason(InstanceStatusReason statusReason)

      Relevant details why the instance was not successfully created.

      Parameters:
      statusReason - Relevant details why the instance was not successfully created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReason

      default Instance.Builder statusReason(Consumer<InstanceStatusReason.Builder> statusReason)

      Relevant details why the instance was not successfully created.

      This is a convenience method that creates an instance of the InstanceStatusReason.Builder avoiding the need to create one manually via InstanceStatusReason.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to statusReason(InstanceStatusReason).

      Parameters:
      statusReason - a consumer that will call methods on InstanceStatusReason.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inboundCallsEnabled

      Instance.Builder inboundCallsEnabled(Boolean inboundCallsEnabled)

      Whether inbound calls are enabled.

      Parameters:
      inboundCallsEnabled - Whether inbound calls are enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outboundCallsEnabled

      Instance.Builder outboundCallsEnabled(Boolean outboundCallsEnabled)

      Whether outbound calls are enabled.

      Parameters:
      outboundCallsEnabled - Whether outbound calls are enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceAccessUrl

      Instance.Builder instanceAccessUrl(String instanceAccessUrl)

      This URL allows contact center users to access the Amazon Connect admin website.

      Parameters:
      instanceAccessUrl - This URL allows contact center users to access the Amazon Connect admin website.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags of an instance.

      Parameters:
      tags - The tags of an instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.