com.aliyun.svideosdk.common.struct.effect

## Class EffectStream.Builder

- java.lang.Object
- - com.aliyun.svideosdk.common.struct.effect.EffectStream.Builder

- Enclosing class:
    EffectStream

      public static final class EffectStream.Builder
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Builder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `EffectStream` | `build()`
    `EffectStream.Builder` | `source(Source source)` 设置资源路径
    `EffectStream.Builder` | `streamDuration(long duration, java.util.concurrent.TimeUnit timeUnit)` 设置流的持续时长,
    `EffectStream.Builder` | `streamStartTime(long startTime, java.util.concurrent.TimeUnit timeUnit)` 设置流的的开始时间

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Builder

          public Builder()

  - ### Method Detail

    - #### source

          public EffectStream.Builder source(Source source)

      设置资源路径
      Parameters:
        `source` - 资源路径
      Returns:

    - #### streamStartTime

          public EffectStream.Builder streamStartTime(long startTime,
                                                      java.util.concurrent.TimeUnit timeUnit)

      设置流的的开始时间
      Parameters:
        `startTime` -
        `timeUnit` - 时间单位
      Returns:

    - #### streamDuration

          public EffectStream.Builder streamDuration(long duration,
                                                     java.util.concurrent.TimeUnit timeUnit)

      设置流的持续时长,
      Parameters:
        `duration` -
        `timeUnit` - 时间单位
      Returns:

    - #### build

          public EffectStream build()