@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FrameCaptureSettings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
FrameCaptureSettings() |
Modifier and Type | Method and Description |
---|---|
FrameCaptureSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getFramerateDenominator()
Frame capture will encode the first frame of the output stream, then one frame every
framerateDenominator/framerateNumerator seconds.
|
Integer |
getFramerateNumerator()
Frame capture will encode the first frame of the output stream, then one frame every
framerateDenominator/framerateNumerator seconds.
|
Integer |
getMaxCaptures()
Maximum number of captures (encoded jpg output files).
|
Integer |
getQuality()
JPEG Quality - a higher value equals higher quality.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFramerateDenominator(Integer framerateDenominator)
Frame capture will encode the first frame of the output stream, then one frame every
framerateDenominator/framerateNumerator seconds.
|
void |
setFramerateNumerator(Integer framerateNumerator)
Frame capture will encode the first frame of the output stream, then one frame every
framerateDenominator/framerateNumerator seconds.
|
void |
setMaxCaptures(Integer maxCaptures)
Maximum number of captures (encoded jpg output files).
|
void |
setQuality(Integer quality)
JPEG Quality - a higher value equals higher quality.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FrameCaptureSettings |
withFramerateDenominator(Integer framerateDenominator)
Frame capture will encode the first frame of the output stream, then one frame every
framerateDenominator/framerateNumerator seconds.
|
FrameCaptureSettings |
withFramerateNumerator(Integer framerateNumerator)
Frame capture will encode the first frame of the output stream, then one frame every
framerateDenominator/framerateNumerator seconds.
|
FrameCaptureSettings |
withMaxCaptures(Integer maxCaptures)
Maximum number of captures (encoded jpg output files).
|
FrameCaptureSettings |
withQuality(Integer quality)
JPEG Quality - a higher value equals higher quality.
|
public void setFramerateDenominator(Integer framerateDenominator)
framerateDenominator
- Frame capture will encode the first frame of the output stream, then one frame every
framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and
framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every
3s. Files will be named as filename.n.jpg where n is the 0-based sequence number of each Capture.public Integer getFramerateDenominator()
public FrameCaptureSettings withFramerateDenominator(Integer framerateDenominator)
framerateDenominator
- Frame capture will encode the first frame of the output stream, then one frame every
framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and
framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every
3s. Files will be named as filename.n.jpg where n is the 0-based sequence number of each Capture.public void setFramerateNumerator(Integer framerateNumerator)
framerateNumerator
- Frame capture will encode the first frame of the output stream, then one frame every
framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and
framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every
3s. Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame sequence number zero padded
to 7 decimal places.public Integer getFramerateNumerator()
public FrameCaptureSettings withFramerateNumerator(Integer framerateNumerator)
framerateNumerator
- Frame capture will encode the first frame of the output stream, then one frame every
framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and
framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every
3s. Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame sequence number zero padded
to 7 decimal places.public void setMaxCaptures(Integer maxCaptures)
maxCaptures
- Maximum number of captures (encoded jpg output files).public Integer getMaxCaptures()
public FrameCaptureSettings withMaxCaptures(Integer maxCaptures)
maxCaptures
- Maximum number of captures (encoded jpg output files).public void setQuality(Integer quality)
quality
- JPEG Quality - a higher value equals higher quality.public Integer getQuality()
public FrameCaptureSettings withQuality(Integer quality)
quality
- JPEG Quality - a higher value equals higher quality.public String toString()
toString
in class Object
Object.toString()
public FrameCaptureSettings clone()
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.