public static abstract class

InteractiveRequest.Builder

extends Object
java.lang.Object
   ↳ com.amazon.identity.auth.device.interactive.InteractiveRequest.Builder<W extends com.amazon.identity.auth.device.interactive.InteractiveRequest<?, ?, ?, ?>>
Known Direct Subclasses

Class Overview

The base builder object for interactive requests. If you are building your own interactive workflow, it is recommended to provide a subclass of this builder for its request type to improve the app developer's integration experience.{@since 3.0 }

Summary

Fields
protected RequestContext requestContext
Public Constructors
Builder(RequestContext requestContext)
All interactive requests must be created with a RequestContext that ties the request and its corresponding registered listeners together.
Public Methods
abstract W build()
Build the request instance specified by this builder.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected RequestContext requestContext

Public Constructors

public Builder (RequestContext requestContext)

All interactive requests must be created with a RequestContext that ties the request and its corresponding registered listeners together.

Parameters
requestContext Required.

Public Methods

public abstract W build ()

Build the request instance specified by this builder.

Returns
  • The instance of the specified request.