Interface TimeSpan.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TimeSpan.Builder,TimeSpan>, SdkBuilder<TimeSpan.Builder,TimeSpan>, SdkPojo
Enclosing class:
TimeSpan

public static interface TimeSpan.Builder extends SdkPojo, CopyableBuilder<TimeSpan.Builder,TimeSpan>
  • Method Details

    • startTime

      TimeSpan.Builder startTime(String startTime)

      The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.

      Parameters:
      startTime - The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      TimeSpan.Builder duration(String duration)

      The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.

      If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.

      Parameters:
      duration - The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.

      If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.

      Returns:
      Returns a reference to this object so that method calls can be chained together.