StructuredPojo
, ToCopyableBuilder<TimeSpan.Builder,TimeSpan>
@Generated("software.amazon.awssdk:codegen") public class TimeSpan extends Object implements StructuredPojo, ToCopyableBuilder<TimeSpan.Builder,TimeSpan>
Settings that determine when a clip begins and how long it lasts.
Modifier and Type | Class | Description |
---|---|---|
static interface |
TimeSpan.Builder |
Modifier and Type | Method | Description |
---|---|---|
static TimeSpan.Builder |
builder() |
|
String |
duration() |
The duration of the clip.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends TimeSpan.Builder> |
serializableBuilderClass() |
|
String |
startTime() |
The place in the input file where you want a clip to start.
|
TimeSpan.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public 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.
public 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.
If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.
public TimeSpan.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TimeSpan.Builder,TimeSpan>
public static TimeSpan.Builder builder()
public static Class<? extends TimeSpan.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.