类 CreatePresetRequest

    • 构造器详细资料

      • CreatePresetRequest

        public CreatePresetRequest()
    • 方法详细资料

      • getName

        public String getName()
        Returns the name of the preset.
        返回:
        the name of the preset
      • setName

        public void setName​(String name)
        Sets the name of the preset.
        参数:
        name - the name of the preset
      • withName

        public CreatePresetRequest withName​(String name)
        Sets the name of the preset and returns this object.
        参数:
        name - the name of the preset.
        返回:
        this object
      • getDescription

        public String getDescription()
        Returns the description of the preset.
        返回:
        the description of the preset
      • setDescription

        public void setDescription​(String description)
        Sets the description of the preset.
        参数:
        description - the description of the preset
      • withDescription

        public CreatePresetRequest withDescription​(String description)
        Sets the description of the preset and returns this object.
        参数:
        description - the description of the preset.
        返回:
        this object
      • getForwardOnly

        public Boolean getForwardOnly()
        Returns true if forward only.
        返回:
        true if forward only.
      • setForwardOnly

        public void setForwardOnly​(Boolean forwardOnly)
        Sets the forward option
        参数:
        forwardOnly - true if forward only
      • withForwardOnly

        public CreatePresetRequest withForwardOnly​(Boolean forwardOnly)
        Sets the forward option and returns this object.
        参数:
        forwardOnly - true if forward only
        返回:
        this object
      • getAudio

        public Audio getAudio()
        Returns the audio settings.
        返回:
        the audio settings
      • setAudio

        public void setAudio​(Audio audio)
        Sets the audio settings.
        参数:
        audio - the audio settings
      • withAudio

        public CreatePresetRequest withAudio​(Audio audio)
        Sets the audio settings and returns this object.
        参数:
        audio - the audio settings
        返回:
        this object
      • getVideo

        public Video getVideo()
        Returns the video settings.
        返回:
        the video settings
      • setVideo

        public void setVideo​(Video video)
        Sets the video settings.
        参数:
        video - the video settings
      • withVideo

        public CreatePresetRequest withVideo​(Video video)
        Sets the video settings and returns this object.
        参数:
        video - the video settings
        返回:
        this object
      • getHls

        public Hls getHls()
        Returns the HLS settings.
        返回:
        the HLS settings
      • setHls

        public void setHls​(Hls hls)
        Sets the HLS settings.
        参数:
        hls - the HLS setting
      • withHls

        public CreatePresetRequest withHls​(Hls hls)
        Sets the HLS settings and returns this object.
        参数:
        hls - the HLS settings
        返回:
        this object
      • getRtmp

        public Rtmp getRtmp()
        Returns the RTMP settings.
        返回:
        the RTMP settings
      • setRtmp

        public void setRtmp​(Rtmp rtmp)
        Sets the RTMP settings.
        参数:
        rtmp - the RTMP settings
      • withRtmp

        public CreatePresetRequest withRtmp​(Rtmp rtmp)
        Sets the RTMP settings and returns this object.
        参数:
        rtmp - the RTMP settings
        返回:
        this object
      • getWatermarks

        public Watermarks getWatermarks()
        Returns the watermark settings.
        返回:
        the watermark settings
      • setWatermarks

        public void setWatermarks​(Watermarks watermarks)
      • getThumbnail

        public LiveThumbnail getThumbnail()
        缩略图输出信息的集合
      • setThumbnail

        public void setThumbnail​(LiveThumbnail thumbnail)