Interface Preview.Builder

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

@Mutable @NotThreadSafe public static interface Preview.Builder extends SdkPojo, CopyableBuilder<Preview.Builder,Preview>
  • Method Details

    • postAcceptTimeoutConfig

      Preview.Builder postAcceptTimeoutConfig(PostAcceptTimeoutConfig postAcceptTimeoutConfig)

      Countdown timer configuration after the agent accepted the preview outbound contact.

      Parameters:
      postAcceptTimeoutConfig - Countdown timer configuration after the agent accepted the preview outbound contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • postAcceptTimeoutConfig

      default Preview.Builder postAcceptTimeoutConfig(Consumer<PostAcceptTimeoutConfig.Builder> postAcceptTimeoutConfig)

      Countdown timer configuration after the agent accepted the preview outbound contact.

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

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

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

      Preview.Builder allowedUserActionsWithStrings(Collection<String> allowedUserActions)

      The actions the agent can perform after accepting the preview outbound contact.

      Parameters:
      allowedUserActions - The actions the agent can perform after accepting the preview outbound contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedUserActionsWithStrings

      Preview.Builder allowedUserActionsWithStrings(String... allowedUserActions)

      The actions the agent can perform after accepting the preview outbound contact.

      Parameters:
      allowedUserActions - The actions the agent can perform after accepting the preview outbound contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedUserActions

      Preview.Builder allowedUserActions(Collection<AllowedUserAction> allowedUserActions)

      The actions the agent can perform after accepting the preview outbound contact.

      Parameters:
      allowedUserActions - The actions the agent can perform after accepting the preview outbound contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedUserActions

      Preview.Builder allowedUserActions(AllowedUserAction... allowedUserActions)

      The actions the agent can perform after accepting the preview outbound contact.

      Parameters:
      allowedUserActions - The actions the agent can perform after accepting the preview outbound contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.