@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetImagesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetImagesRequest() |
Modifier and Type | Method and Description |
---|---|
GetImagesRequest |
addFormatConfigEntry(String key,
String value)
Add a single FormatConfig entry
|
GetImagesRequest |
clearFormatConfigEntries()
Removes all the entries added into FormatConfig.
|
GetImagesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTimestamp()
The end timestamp for the range of images to be generated.
|
String |
getFormat()
The format that will be used to encode the image.
|
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.
|
Long |
getMaxResults()
The maximum number of images to be returned by the API.
|
String |
getNextToken()
A token that specifies where to start paginating the next set of Images.
|
Integer |
getSamplingInterval()
The time interval in milliseconds (ms) at which the images need to be generated from the stream.
|
Date |
getStartTimestamp()
The starting point from which the images should be generated.
|
String |
getStreamARN()
The Amazon Resource Name (ARN) of the stream from which to retrieve the images.
|
String |
getStreamName()
The name of the stream from which to retrieve the images.
|
Integer |
getWidthPixels()
The width of the output image that is used in conjunction with the
HeightPixels parameter. |
int |
hashCode() |
void |
setEndTimestamp(Date endTimestamp)
The end timestamp for the range of images to be generated.
|
void |
setFormat(String format)
The format that will be used to encode the image.
|
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 |
setMaxResults(Long maxResults)
The maximum number of images to be returned by the API.
|
void |
setNextToken(String nextToken)
A token that specifies where to start paginating the next set of Images.
|
void |
setSamplingInterval(Integer samplingInterval)
The time interval in milliseconds (ms) at which the images need to be generated from the stream.
|
void |
setStartTimestamp(Date startTimestamp)
The starting point from which the images should be generated.
|
void |
setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve the images.
|
void |
setStreamName(String streamName)
The name of the stream from which to retrieve the images.
|
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.
|
GetImagesRequest |
withEndTimestamp(Date endTimestamp)
The end timestamp for the range of images to be generated.
|
GetImagesRequest |
withFormat(Format format)
The format that will be used to encode the image.
|
GetImagesRequest |
withFormat(String format)
The format that will be used to encode the image.
|
GetImagesRequest |
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.
|
GetImagesRequest |
withHeightPixels(Integer heightPixels)
The height of the output image that is used in conjunction with the
WidthPixels parameter. |
GetImagesRequest |
withImageSelectorType(ImageSelectorType imageSelectorType)
The origin of the Server or Producer timestamps to use to generate the images.
|
GetImagesRequest |
withImageSelectorType(String imageSelectorType)
The origin of the Server or Producer timestamps to use to generate the images.
|
GetImagesRequest |
withMaxResults(Long maxResults)
The maximum number of images to be returned by the API.
|
GetImagesRequest |
withNextToken(String nextToken)
A token that specifies where to start paginating the next set of Images.
|
GetImagesRequest |
withSamplingInterval(Integer samplingInterval)
The time interval in milliseconds (ms) at which the images need to be generated from the stream.
|
GetImagesRequest |
withStartTimestamp(Date startTimestamp)
The starting point from which the images should be generated.
|
GetImagesRequest |
withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve the images.
|
GetImagesRequest |
withStreamName(String streamName)
The name of the stream from which to retrieve the images.
|
GetImagesRequest |
withWidthPixels(Integer widthPixels)
The width of the output image that is used in conjunction with the
HeightPixels parameter. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStreamName(String streamName)
The name of the stream from which to retrieve the images. You must specify either the StreamName
or
the StreamARN
.
streamName
- The name of the stream from which to retrieve the images. You must specify either the
StreamName
or the StreamARN
.public String getStreamName()
The name of the stream from which to retrieve the images. You must specify either the StreamName
or
the StreamARN
.
StreamName
or the StreamARN
.public GetImagesRequest withStreamName(String streamName)
The name of the stream from which to retrieve the images. You must specify either the StreamName
or
the StreamARN
.
streamName
- The name of the stream from which to retrieve the images. You must specify either the
StreamName
or the StreamARN
.public void setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve the images. You must specify either the
StreamName
or the StreamARN
.
streamARN
- The Amazon Resource Name (ARN) of the stream from which to retrieve the images. You must specify either
the StreamName
or the StreamARN
.public String getStreamARN()
The Amazon Resource Name (ARN) of the stream from which to retrieve the images. You must specify either the
StreamName
or the StreamARN
.
StreamName
or the StreamARN
.public GetImagesRequest withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve the images. You must specify either the
StreamName
or the StreamARN
.
streamARN
- The Amazon Resource Name (ARN) of the stream from which to retrieve the images. You must specify either
the StreamName
or the StreamARN
.public 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.ImageSelectorType
public String getImageSelectorType()
The origin of the Server or Producer timestamps to use to generate the images.
ImageSelectorType
public GetImagesRequest 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.ImageSelectorType
public GetImagesRequest 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.ImageSelectorType
public void setStartTimestamp(Date startTimestamp)
The starting point from which the images should be generated. This StartTimestamp
must be within an
inclusive range of timestamps for an image to be returned.
startTimestamp
- The starting point from which the images should be generated. This StartTimestamp
must be
within an inclusive range of timestamps for an image to be returned.public Date getStartTimestamp()
The starting point from which the images should be generated. This StartTimestamp
must be within an
inclusive range of timestamps for an image to be returned.
StartTimestamp
must be
within an inclusive range of timestamps for an image to be returned.public GetImagesRequest withStartTimestamp(Date startTimestamp)
The starting point from which the images should be generated. This StartTimestamp
must be within an
inclusive range of timestamps for an image to be returned.
startTimestamp
- The starting point from which the images should be generated. This StartTimestamp
must be
within an inclusive range of timestamps for an image to be returned.public void setEndTimestamp(Date endTimestamp)
The end timestamp for the range of images to be generated. If the time range between StartTimestamp
and EndTimestamp
is more than 300 seconds above StartTimestamp
, you will receive an
IllegalArgumentException
.
endTimestamp
- The end timestamp for the range of images to be generated. If the time range between
StartTimestamp
and EndTimestamp
is more than 300 seconds above
StartTimestamp
, you will receive an IllegalArgumentException
.public Date getEndTimestamp()
The end timestamp for the range of images to be generated. If the time range between StartTimestamp
and EndTimestamp
is more than 300 seconds above StartTimestamp
, you will receive an
IllegalArgumentException
.
StartTimestamp
and EndTimestamp
is more than 300 seconds above
StartTimestamp
, you will receive an IllegalArgumentException
.public GetImagesRequest withEndTimestamp(Date endTimestamp)
The end timestamp for the range of images to be generated. If the time range between StartTimestamp
and EndTimestamp
is more than 300 seconds above StartTimestamp
, you will receive an
IllegalArgumentException
.
endTimestamp
- The end timestamp for the range of images to be generated. If the time range between
StartTimestamp
and EndTimestamp
is more than 300 seconds above
StartTimestamp
, you will receive an IllegalArgumentException
.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 (5 images per second). 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 (5 images per second). 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 (5 images per second). 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 GetImagesRequest 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 (5 images per second). 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 (5 images per second). 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 format that will be used to encode the image.
format
- The format that will be used to encode the image.Format
public String getFormat()
The format that will be used to encode the image.
Format
public GetImagesRequest withFormat(String format)
The format that will be used to encode the image.
format
- The format that will be used to encode the image.Format
public GetImagesRequest withFormat(Format format)
The format that will be used to encode the image.
format
- The format that will be used to encode the image.Format
public 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 GetImagesRequest 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 GetImagesRequest addFormatConfigEntry(String key, String value)
public GetImagesRequest 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 or if only the
HeightPixels
is provided, a ValidationException
will be thrown. If neither parameter is
provided, the original image size from the stream 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
or if only the HeightPixels
is provided, a ValidationException
will be thrown.
If neither parameter is provided, the original image size from the stream 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 or if only the
HeightPixels
is provided, a ValidationException
will be thrown. If neither parameter is
provided, the original image size from the stream 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 or if only the HeightPixels
is provided, a ValidationException
will be
thrown. If neither parameter is provided, the original image size from the stream will be returned.public GetImagesRequest 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 or if only the
HeightPixels
is provided, a ValidationException
will be thrown. If neither parameter is
provided, the original image size from the stream 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
or if only the HeightPixels
is provided, a ValidationException
will be thrown.
If neither parameter is provided, the original image size from the stream 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 GetImagesRequest 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 void setMaxResults(Long maxResults)
The maximum number of images to be returned by the API.
The default limit is 25 images per API response. Providing a MaxResults
greater than this value will
result in a page size of 25. Any additional results will be paginated.
maxResults
- The maximum number of images to be returned by the API.
The default limit is 25 images per API response. Providing a MaxResults
greater than this
value will result in a page size of 25. Any additional results will be paginated.
public Long getMaxResults()
The maximum number of images to be returned by the API.
The default limit is 25 images per API response. Providing a MaxResults
greater than this value will
result in a page size of 25. Any additional results will be paginated.
The default limit is 25 images per API response. Providing a MaxResults
greater than this
value will result in a page size of 25. Any additional results will be paginated.
public GetImagesRequest withMaxResults(Long maxResults)
The maximum number of images to be returned by the API.
The default limit is 25 images per API response. Providing a MaxResults
greater than this value will
result in a page size of 25. Any additional results will be paginated.
maxResults
- The maximum number of images to be returned by the API.
The default limit is 25 images per API response. Providing a MaxResults
greater than this
value will result in a page size of 25. Any additional results will be paginated.
public void setNextToken(String nextToken)
A token that specifies where to start paginating the next set of Images. This is the
GetImages:NextToken
from a previously truncated response.
nextToken
- A token that specifies where to start paginating the next set of Images. This is the
GetImages:NextToken
from a previously truncated response.public String getNextToken()
A token that specifies where to start paginating the next set of Images. This is the
GetImages:NextToken
from a previously truncated response.
GetImages:NextToken
from a previously truncated response.public GetImagesRequest withNextToken(String nextToken)
A token that specifies where to start paginating the next set of Images. This is the
GetImages:NextToken
from a previously truncated response.
nextToken
- A token that specifies where to start paginating the next set of Images. This is the
GetImages:NextToken
from a previously truncated response.public String toString()
toString
in class Object
Object.toString()
public GetImagesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()