@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageGenerationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The structure that contains the information required for the KVS images delivery. If null, the configuration will be deleted from the stream.
| Constructor and Description |
|---|
ImageGenerationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ImageGenerationConfiguration |
addFormatConfigEntry(String key,
String value)
Add a single FormatConfig entry
|
ImageGenerationConfiguration |
clearFormatConfigEntries()
Removes all the entries added into FormatConfig.
|
ImageGenerationConfiguration |
clone() |
boolean |
equals(Object obj) |
ImageGenerationDestinationConfig |
getDestinationConfig()
The structure that contains the information required to deliver images to a customer.
|
String |
getFormat()
The accepted image format.
|
Map<String,String> |
getFormatConfig()
The list of a key-value pair structure that contains extra parameters that can be applied when the image is
generated.
|
Integer |
getHeightPixels()
The height of the output image that is used in conjunction with the
WidthPixels parameter. |
String |
getImageSelectorType()
The origin of the Server or Producer timestamps to use to generate the images.
|
Integer |
getSamplingInterval()
The time interval in milliseconds (ms) at which the images need to be generated from the stream.
|
String |
getStatus()
Indicates whether the
ContinuousImageGenerationConfigurations API is enabled or disabled. |
Integer |
getWidthPixels()
The width of the output image that is used in conjunction with the
HeightPixels parameter. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDestinationConfig(ImageGenerationDestinationConfig destinationConfig)
The structure that contains the information required to deliver images to a customer.
|
void |
setFormat(String format)
The accepted image format.
|
void |
setFormatConfig(Map<String,String> formatConfig)
The list of a key-value pair structure that contains extra parameters that can be applied when the image is
generated.
|
void |
setHeightPixels(Integer heightPixels)
The height of the output image that is used in conjunction with the
WidthPixels parameter. |
void |
setImageSelectorType(String imageSelectorType)
The origin of the Server or Producer timestamps to use to generate the images.
|
void |
setSamplingInterval(Integer samplingInterval)
The time interval in milliseconds (ms) at which the images need to be generated from the stream.
|
void |
setStatus(String status)
Indicates whether the
ContinuousImageGenerationConfigurations API is enabled or disabled. |
void |
setWidthPixels(Integer widthPixels)
The width of the output image that is used in conjunction with the
HeightPixels parameter. |
String |
toString()
Returns a string representation of this object.
|
ImageGenerationConfiguration |
withDestinationConfig(ImageGenerationDestinationConfig destinationConfig)
The structure that contains the information required to deliver images to a customer.
|
ImageGenerationConfiguration |
withFormat(Format format)
The accepted image format.
|
ImageGenerationConfiguration |
withFormat(String format)
The accepted image format.
|
ImageGenerationConfiguration |
withFormatConfig(Map<String,String> formatConfig)
The list of a key-value pair structure that contains extra parameters that can be applied when the image is
generated.
|
ImageGenerationConfiguration |
withHeightPixels(Integer heightPixels)
The height of the output image that is used in conjunction with the
WidthPixels parameter. |
ImageGenerationConfiguration |
withImageSelectorType(ImageSelectorType imageSelectorType)
The origin of the Server or Producer timestamps to use to generate the images.
|
ImageGenerationConfiguration |
withImageSelectorType(String imageSelectorType)
The origin of the Server or Producer timestamps to use to generate the images.
|
ImageGenerationConfiguration |
withSamplingInterval(Integer samplingInterval)
The time interval in milliseconds (ms) at which the images need to be generated from the stream.
|
ImageGenerationConfiguration |
withStatus(ConfigurationStatus status)
Indicates whether the
ContinuousImageGenerationConfigurations API is enabled or disabled. |
ImageGenerationConfiguration |
withStatus(String status)
Indicates whether the
ContinuousImageGenerationConfigurations API is enabled or disabled. |
ImageGenerationConfiguration |
withWidthPixels(Integer widthPixels)
The width of the output image that is used in conjunction with the
HeightPixels parameter. |
public void setStatus(String status)
Indicates whether the ContinuousImageGenerationConfigurations API is enabled or disabled.
status - Indicates whether the ContinuousImageGenerationConfigurations API is enabled or disabled.ConfigurationStatuspublic String getStatus()
Indicates whether the ContinuousImageGenerationConfigurations API is enabled or disabled.
ContinuousImageGenerationConfigurations API is enabled or disabled.ConfigurationStatuspublic ImageGenerationConfiguration withStatus(String status)
Indicates whether the ContinuousImageGenerationConfigurations API is enabled or disabled.
status - Indicates whether the ContinuousImageGenerationConfigurations API is enabled or disabled.ConfigurationStatuspublic ImageGenerationConfiguration withStatus(ConfigurationStatus status)
Indicates whether the ContinuousImageGenerationConfigurations API is enabled or disabled.
status - Indicates whether the ContinuousImageGenerationConfigurations API is enabled or disabled.ConfigurationStatuspublic void setImageSelectorType(String imageSelectorType)
The origin of the Server or Producer timestamps to use to generate the images.
imageSelectorType - The origin of the Server or Producer timestamps to use to generate the images.ImageSelectorTypepublic String getImageSelectorType()
The origin of the Server or Producer timestamps to use to generate the images.
ImageSelectorTypepublic ImageGenerationConfiguration withImageSelectorType(String imageSelectorType)
The origin of the Server or Producer timestamps to use to generate the images.
imageSelectorType - The origin of the Server or Producer timestamps to use to generate the images.ImageSelectorTypepublic ImageGenerationConfiguration withImageSelectorType(ImageSelectorType imageSelectorType)
The origin of the Server or Producer timestamps to use to generate the images.
imageSelectorType - The origin of the Server or Producer timestamps to use to generate the images.ImageSelectorTypepublic void setDestinationConfig(ImageGenerationDestinationConfig destinationConfig)
The structure that contains the information required to deliver images to a customer.
destinationConfig - The structure that contains the information required to deliver images to a customer.public ImageGenerationDestinationConfig getDestinationConfig()
The structure that contains the information required to deliver images to a customer.
public ImageGenerationConfiguration withDestinationConfig(ImageGenerationDestinationConfig destinationConfig)
The structure that contains the information required to deliver images to a customer.
destinationConfig - The structure that contains the information required to deliver images to a customer.public void setSamplingInterval(Integer samplingInterval)
The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum
value that can be provided is 200 ms. If the timestamp range is less than the sampling interval, the Image from
the StartTimestamp will be returned if available.
samplingInterval - The time interval in milliseconds (ms) at which the images need to be generated from the stream. The
minimum value that can be provided is 200 ms. If the timestamp range is less than the sampling interval,
the Image from the StartTimestamp will be returned if available.public Integer getSamplingInterval()
The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum
value that can be provided is 200 ms. If the timestamp range is less than the sampling interval, the Image from
the StartTimestamp will be returned if available.
StartTimestamp will be returned if available.public ImageGenerationConfiguration withSamplingInterval(Integer samplingInterval)
The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum
value that can be provided is 200 ms. If the timestamp range is less than the sampling interval, the Image from
the StartTimestamp will be returned if available.
samplingInterval - The time interval in milliseconds (ms) at which the images need to be generated from the stream. The
minimum value that can be provided is 200 ms. If the timestamp range is less than the sampling interval,
the Image from the StartTimestamp will be returned if available.public void setFormat(String format)
The accepted image format.
format - The accepted image format.Formatpublic String getFormat()
The accepted image format.
Formatpublic ImageGenerationConfiguration withFormat(String format)
The accepted image format.
format - The accepted image format.Formatpublic ImageGenerationConfiguration withFormat(Format format)
The accepted image format.
format - The accepted image format.Formatpublic Map<String,String> getFormatConfig()
The list of a key-value pair structure that contains extra parameters that can be applied when the image is
generated. The FormatConfig key is the JPEGQuality, which indicates the JPEG quality
key to be used to generate the image. The FormatConfig value accepts ints from 1 to 100. If the
value is 1, the image will be generated with less quality and the best compression. If the value is 100, the
image will be generated with the best quality and less compression. If no value is provided, the default value of
the JPEGQuality key will be set to 80.
FormatConfig key is the JPEGQuality, which indicates the JPEG
quality key to be used to generate the image. The FormatConfig value accepts ints from 1 to
100. If the value is 1, the image will be generated with less quality and the best compression. If the
value is 100, the image will be generated with the best quality and less compression. If no value is
provided, the default value of the JPEGQuality key will be set to 80.public void setFormatConfig(Map<String,String> formatConfig)
The list of a key-value pair structure that contains extra parameters that can be applied when the image is
generated. The FormatConfig key is the JPEGQuality, which indicates the JPEG quality
key to be used to generate the image. The FormatConfig value accepts ints from 1 to 100. If the
value is 1, the image will be generated with less quality and the best compression. If the value is 100, the
image will be generated with the best quality and less compression. If no value is provided, the default value of
the JPEGQuality key will be set to 80.
formatConfig - The list of a key-value pair structure that contains extra parameters that can be applied when the image
is generated. The FormatConfig key is the JPEGQuality, which indicates the JPEG
quality key to be used to generate the image. The FormatConfig value accepts ints from 1 to
100. If the value is 1, the image will be generated with less quality and the best compression. If the
value is 100, the image will be generated with the best quality and less compression. If no value is
provided, the default value of the JPEGQuality key will be set to 80.public ImageGenerationConfiguration withFormatConfig(Map<String,String> formatConfig)
The list of a key-value pair structure that contains extra parameters that can be applied when the image is
generated. The FormatConfig key is the JPEGQuality, which indicates the JPEG quality
key to be used to generate the image. The FormatConfig value accepts ints from 1 to 100. If the
value is 1, the image will be generated with less quality and the best compression. If the value is 100, the
image will be generated with the best quality and less compression. If no value is provided, the default value of
the JPEGQuality key will be set to 80.
formatConfig - The list of a key-value pair structure that contains extra parameters that can be applied when the image
is generated. The FormatConfig key is the JPEGQuality, which indicates the JPEG
quality key to be used to generate the image. The FormatConfig value accepts ints from 1 to
100. If the value is 1, the image will be generated with less quality and the best compression. If the
value is 100, the image will be generated with the best quality and less compression. If no value is
provided, the default value of the JPEGQuality key will be set to 80.public ImageGenerationConfiguration addFormatConfigEntry(String key, String value)
public ImageGenerationConfiguration clearFormatConfigEntries()
public void setWidthPixels(Integer widthPixels)
The width of the output image that is used in conjunction with the HeightPixels parameter. When both
WidthPixels and HeightPixels parameters are provided, the image will be stretched to
fit the specified aspect ratio. If only the WidthPixels parameter is provided, its original aspect
ratio will be used to calculate the HeightPixels ratio. If neither parameter is provided, the
original image size will be returned.
widthPixels - The width of the output image that is used in conjunction with the HeightPixels parameter.
When both WidthPixels and HeightPixels parameters are provided, the image will
be stretched to fit the specified aspect ratio. If only the WidthPixels parameter is
provided, its original aspect ratio will be used to calculate the HeightPixels ratio. If
neither parameter is provided, the original image size will be returned.public Integer getWidthPixels()
The width of the output image that is used in conjunction with the HeightPixels parameter. When both
WidthPixels and HeightPixels parameters are provided, the image will be stretched to
fit the specified aspect ratio. If only the WidthPixels parameter is provided, its original aspect
ratio will be used to calculate the HeightPixels ratio. If neither parameter is provided, the
original image size will be returned.
HeightPixels parameter.
When both WidthPixels and HeightPixels parameters are provided, the image will
be stretched to fit the specified aspect ratio. If only the WidthPixels parameter is
provided, its original aspect ratio will be used to calculate the HeightPixels ratio. If
neither parameter is provided, the original image size will be returned.public ImageGenerationConfiguration withWidthPixels(Integer widthPixels)
The width of the output image that is used in conjunction with the HeightPixels parameter. When both
WidthPixels and HeightPixels parameters are provided, the image will be stretched to
fit the specified aspect ratio. If only the WidthPixels parameter is provided, its original aspect
ratio will be used to calculate the HeightPixels ratio. If neither parameter is provided, the
original image size will be returned.
widthPixels - The width of the output image that is used in conjunction with the HeightPixels parameter.
When both WidthPixels and HeightPixels parameters are provided, the image will
be stretched to fit the specified aspect ratio. If only the WidthPixels parameter is
provided, its original aspect ratio will be used to calculate the HeightPixels ratio. If
neither parameter is provided, the original image size will be returned.public void setHeightPixels(Integer heightPixels)
The height of the output image that is used in conjunction with the WidthPixels parameter. When both
HeightPixels and WidthPixels parameters are provided, the image will be stretched to
fit the specified aspect ratio. If only the HeightPixels parameter is provided, its original aspect
ratio will be used to calculate the WidthPixels ratio. If neither parameter is provided, the
original image size will be returned.
heightPixels - The height of the output image that is used in conjunction with the WidthPixels parameter.
When both HeightPixels and WidthPixels parameters are provided, the image will
be stretched to fit the specified aspect ratio. If only the HeightPixels parameter is
provided, its original aspect ratio will be used to calculate the WidthPixels ratio. If
neither parameter is provided, the original image size will be returned.public Integer getHeightPixels()
The height of the output image that is used in conjunction with the WidthPixels parameter. When both
HeightPixels and WidthPixels parameters are provided, the image will be stretched to
fit the specified aspect ratio. If only the HeightPixels parameter is provided, its original aspect
ratio will be used to calculate the WidthPixels ratio. If neither parameter is provided, the
original image size will be returned.
WidthPixels parameter.
When both HeightPixels and WidthPixels parameters are provided, the image will
be stretched to fit the specified aspect ratio. If only the HeightPixels parameter is
provided, its original aspect ratio will be used to calculate the WidthPixels ratio. If
neither parameter is provided, the original image size will be returned.public ImageGenerationConfiguration withHeightPixels(Integer heightPixels)
The height of the output image that is used in conjunction with the WidthPixels parameter. When both
HeightPixels and WidthPixels parameters are provided, the image will be stretched to
fit the specified aspect ratio. If only the HeightPixels parameter is provided, its original aspect
ratio will be used to calculate the WidthPixels ratio. If neither parameter is provided, the
original image size will be returned.
heightPixels - The height of the output image that is used in conjunction with the WidthPixels parameter.
When both HeightPixels and WidthPixels parameters are provided, the image will
be stretched to fit the specified aspect ratio. If only the HeightPixels parameter is
provided, its original aspect ratio will be used to calculate the WidthPixels ratio. If
neither parameter is provided, the original image size will be returned.public String toString()
toString in class ObjectObject.toString()public ImageGenerationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.