Package com.slack.api.model.block
Class VideoBlock.VideoBlockBuilder
- java.lang.Object
-
- com.slack.api.model.block.VideoBlock.VideoBlockBuilder
-
- Enclosing class:
- VideoBlock
public static class VideoBlock.VideoBlockBuilder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
title
public VideoBlock.VideoBlockBuilder title(PlainTextObject title)
Video title in plain text format. Must be less than 200 characters.- Returns:
this
.
-
titleUrl
public VideoBlock.VideoBlockBuilder titleUrl(String titleUrl)
Hyperlink for the title text. Must correspond to the non-embeddable URL for the video. Must go to an HTTPS URL.- Returns:
this
.
-
description
public VideoBlock.VideoBlockBuilder description(PlainTextObject description)
Description for video in plain text format.- Returns:
this
.
-
videoUrl
public VideoBlock.VideoBlockBuilder videoUrl(String videoUrl)
The URL to be embedded. Must match any existing unfurl domains within the app and point to an HTTPS URL. https://api.slack.com/reference/messaging/link-unfurling#configuring_domains- Returns:
this
.
-
altText
public VideoBlock.VideoBlockBuilder altText(String altText)
A tooltip for the video. Required for accessibility- Returns:
this
.
-
thumbnailUrl
public VideoBlock.VideoBlockBuilder thumbnailUrl(String thumbnailUrl)
The thumbnail image URL- Returns:
this
.
-
authorName
public VideoBlock.VideoBlockBuilder authorName(String authorName)
Author name to be displayed. Must be less than 50 characters.- Returns:
this
.
-
providerName
public VideoBlock.VideoBlockBuilder providerName(String providerName)
The originating application or domain of the video ex. YouTube- Returns:
this
.
-
providerIconUrl
public VideoBlock.VideoBlockBuilder providerIconUrl(String providerIconUrl)
Icon for the video provider - ex. YouTube icon- Returns:
this
.
-
blockId
public VideoBlock.VideoBlockBuilder blockId(String blockId)
- Returns:
this
.
-
build
public VideoBlock build()
-
-