Class MeetingRoom.Builder

java.lang.Object
com.vonage.client.meetings.MeetingRoom.Builder
Enclosing class:
MeetingRoom

public static class MeetingRoom.Builder extends Object
  • Method Details

    • metadata

      public MeetingRoom.Builder metadata(String metadata)
      Free text that can be attached to a room. This will be passed in the form of a header in events related to this room.
      Parameters:
      metadata - Additional text / data to be associated with this room.
      Returns:
      This builder.
    • type

      Type of room.
      Parameters:
      type - The room type.
      Returns:
      This builder.
    • isAvailable

      public MeetingRoom.Builder isAvailable(boolean isAvailable)
      Once a room becomes unavailable, no new sessions can be created under it.
      Parameters:
      isAvailable - Whether the room is available.
      Returns:
      This builder.
    • expireAfterUse

      public MeetingRoom.Builder expireAfterUse(boolean expireAfterUse)
      Close the room after a session ends. Only relevant for long term rooms.
      Parameters:
      expireAfterUse - Whether the room should close after use.
      Returns:
      This builder.
    • recordingOptions

      Options for recording.
      Parameters:
      recordingOptions - The recording options.
      Returns:
      This builder.
    • initialJoinOptions

      Options for when a participant joins a meeting.
      Parameters:
      initialJoinOptions - The initial join options for each participant.
      Returns:
      This builder.
    • uiSettings

      Settings for the user interface of this meeting.
      Parameters:
      uiSettings - The user interface settings.
      Returns:
      This builder.
    • callbackUrls

      Callback URLs for this meeting.
      Parameters:
      callbackUrls - The additional URLs for this meeting.
      Returns:
      This builder.
    • availableFeatures

      Available features for this meeting.
      Parameters:
      availableFeatures - The features available for this room.
      Returns:
      This builder.
    • themeId

      public MeetingRoom.Builder themeId(UUID themeId)
      ID of the theme for this room.
      Parameters:
      themeId - Unique theme identifier.
      Returns:
      This builder.
    • joinApprovalLevel

      Level of approval needed to join the meeting in the room.
      Parameters:
      joinApprovalLevel - The permission setting for joining this room.
      Returns:
      This builder.
    • expiresAt

      NOTE: This parameter is REQUIRED if the room type is RoomType.LONG_TERM, but should not be present if the room type is RoomType.INSTANT.
      Parameters:
      expiresAt - The time for when the room will expire, expressed in ISO 8601 format.
      Returns:
      This builder.
    • build

      public MeetingRoom build()
      Builds the MeetingRoom.
      Returns:
      An instance of MeetingRoom, populated with all fields from this builder.