@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Fragment extends Object implements Serializable, Cloneable, StructuredPojo
Represents a segment of video or other time-delimited data.
Constructor and Description |
---|
Fragment() |
Modifier and Type | Method and Description |
---|---|
Fragment |
clone() |
boolean |
equals(Object obj) |
Long |
getFragmentLengthInMilliseconds()
The playback duration or other time value associated with the fragment.
|
String |
getFragmentNumber()
The index value of the fragment.
|
Long |
getFragmentSizeInBytes()
The total fragment size, including information about the fragment and contained media data.
|
Date |
getProducerTimestamp()
The time stamp from the producer corresponding to the fragment.
|
Date |
getServerTimestamp()
The time stamp from the AWS server corresponding to the fragment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFragmentLengthInMilliseconds(Long fragmentLengthInMilliseconds)
The playback duration or other time value associated with the fragment.
|
void |
setFragmentNumber(String fragmentNumber)
The index value of the fragment.
|
void |
setFragmentSizeInBytes(Long fragmentSizeInBytes)
The total fragment size, including information about the fragment and contained media data.
|
void |
setProducerTimestamp(Date producerTimestamp)
The time stamp from the producer corresponding to the fragment.
|
void |
setServerTimestamp(Date serverTimestamp)
The time stamp from the AWS server corresponding to the fragment.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Fragment |
withFragmentLengthInMilliseconds(Long fragmentLengthInMilliseconds)
The playback duration or other time value associated with the fragment.
|
Fragment |
withFragmentNumber(String fragmentNumber)
The index value of the fragment.
|
Fragment |
withFragmentSizeInBytes(Long fragmentSizeInBytes)
The total fragment size, including information about the fragment and contained media data.
|
Fragment |
withProducerTimestamp(Date producerTimestamp)
The time stamp from the producer corresponding to the fragment.
|
Fragment |
withServerTimestamp(Date serverTimestamp)
The time stamp from the AWS server corresponding to the fragment.
|
public void setFragmentNumber(String fragmentNumber)
The index value of the fragment.
fragmentNumber
- The index value of the fragment.public String getFragmentNumber()
The index value of the fragment.
public Fragment withFragmentNumber(String fragmentNumber)
The index value of the fragment.
fragmentNumber
- The index value of the fragment.public void setFragmentSizeInBytes(Long fragmentSizeInBytes)
The total fragment size, including information about the fragment and contained media data.
fragmentSizeInBytes
- The total fragment size, including information about the fragment and contained media data.public Long getFragmentSizeInBytes()
The total fragment size, including information about the fragment and contained media data.
public Fragment withFragmentSizeInBytes(Long fragmentSizeInBytes)
The total fragment size, including information about the fragment and contained media data.
fragmentSizeInBytes
- The total fragment size, including information about the fragment and contained media data.public void setProducerTimestamp(Date producerTimestamp)
The time stamp from the producer corresponding to the fragment.
producerTimestamp
- The time stamp from the producer corresponding to the fragment.public Date getProducerTimestamp()
The time stamp from the producer corresponding to the fragment.
public Fragment withProducerTimestamp(Date producerTimestamp)
The time stamp from the producer corresponding to the fragment.
producerTimestamp
- The time stamp from the producer corresponding to the fragment.public void setServerTimestamp(Date serverTimestamp)
The time stamp from the AWS server corresponding to the fragment.
serverTimestamp
- The time stamp from the AWS server corresponding to the fragment.public Date getServerTimestamp()
The time stamp from the AWS server corresponding to the fragment.
public Fragment withServerTimestamp(Date serverTimestamp)
The time stamp from the AWS server corresponding to the fragment.
serverTimestamp
- The time stamp from the AWS server corresponding to the fragment.public void setFragmentLengthInMilliseconds(Long fragmentLengthInMilliseconds)
The playback duration or other time value associated with the fragment.
fragmentLengthInMilliseconds
- The playback duration or other time value associated with the fragment.public Long getFragmentLengthInMilliseconds()
The playback duration or other time value associated with the fragment.
public Fragment withFragmentLengthInMilliseconds(Long fragmentLengthInMilliseconds)
The playback duration or other time value associated with the fragment.
fragmentLengthInMilliseconds
- The playback duration or other time value associated with the fragment.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.