|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elastictranscoder.model.TimeSpan
public class TimeSpan
Settings that determine when a clip begins and how long it lasts.
Constructor Summary | |
---|---|
TimeSpan()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDuration()
The duration of the clip. |
String |
getStartTime()
The place in the input file where you want a clip to start. |
int |
hashCode()
|
void |
setDuration(String duration)
The duration of the clip. |
void |
setStartTime(String startTime)
The place in the input file where you want a clip to start. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
TimeSpan |
withDuration(String duration)
The duration of the clip. |
TimeSpan |
withStartTime(String startTime)
The place in the input file where you want a clip to start. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TimeSpan()
Method Detail |
---|
public String getStartTime()
Constraints:
Pattern: (^\d{1,5}(\.\d{0,3})?$)|(^([0-1]?[0-9]:|2[0-3]:)?([0-5]?[0-9]:)?[0-5]?[0-9](\.\d{0,3})?$)
public void setStartTime(String startTime)
Constraints:
Pattern: (^\d{1,5}(\.\d{0,3})?$)|(^([0-1]?[0-9]:|2[0-3]:)?([0-5]?[0-9]:)?[0-5]?[0-9](\.\d{0,3})?$)
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 TimeSpan withStartTime(String startTime)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^\d{1,5}(\.\d{0,3})?$)|(^([0-1]?[0-9]:|2[0-3]:)?([0-5]?[0-9]:)?[0-5]?[0-9](\.\d{0,3})?$)
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 getDuration()
If you specify a value longer than the duration of the input file , Elastic Transcoder transcodes the file and returns a warning message.
Constraints:
Pattern: (^\d{1,5}(\.\d{0,3})?$)|(^([0-1]?[0-9]:|2[0-3]:)?([0-5]?[0-9]:)?[0-5]?[0-9](\.\d{0,3})?$)
If you specify a value longer than the duration of the input file , Elastic Transcoder transcodes the file and returns a warning message.
public void setDuration(String duration)
If you specify a value longer than the duration of the input file , Elastic Transcoder transcodes the file and returns a warning message.
Constraints:
Pattern: (^\d{1,5}(\.\d{0,3})?$)|(^([0-1]?[0-9]:|2[0-3]:)?([0-5]?[0-9]:)?[0-5]?[0-9](\.\d{0,3})?$)
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.
public TimeSpan withDuration(String duration)
If you specify a value longer than the duration of the input file , Elastic Transcoder transcodes the file and returns a warning message.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^\d{1,5}(\.\d{0,3})?$)|(^([0-1]?[0-9]:|2[0-3]:)?([0-5]?[0-9]:)?[0-5]?[0-9](\.\d{0,3})?$)
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.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |