Class AppEndpoint

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.ncco.AppEndpoint
All Implemented Interfaces:
Jsonable, Endpoint

public class AppEndpoint extends JsonableBaseObject implements Endpoint
Represents an app endpoint used in a ConnectAction. See the documentation for an example.
Since:
5.4.0
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Endpoint
    • getUser

      public String getUser()
      The user to connect to. This username must have been added as a user.
      Returns:
      The username.
    • builder

      public static AppEndpoint.Builder builder(String user)
      Entry point for constructing an instance of this class.
      Parameters:
      user - The username to connect to.
      Returns:
      A new Builder.