@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StaticImageOutputActivateScheduleActionSettings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
StaticImageOutputActivateScheduleActionSettings() |
Modifier and Type | Method and Description |
---|---|
StaticImageOutputActivateScheduleActionSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getDuration()
The duration in milliseconds for the image to remain on the video.
|
Integer |
getFadeIn()
The time in milliseconds for the image to fade in.
|
Integer |
getFadeOut()
Applies only if a duration is specified.
|
Integer |
getHeight()
The height of the image when inserted into the video, in pixels.
|
InputLocation |
getImage()
The location and filename of the image file to overlay on the video.
|
Integer |
getImageX()
Placement of the left edge of the overlay relative to the left edge of the video frame, in pixels.
|
Integer |
getImageY()
Placement of the top edge of the overlay relative to the top edge of the video frame, in pixels.
|
Integer |
getLayer()
The number of the layer, 0 to 7.
|
Integer |
getOpacity()
Opacity of image where 0 is transparent and 100 is fully opaque.
|
List<String> |
getOutputNames()
The name(s) of the output(s) the activation should apply to.
|
Integer |
getWidth()
The width of the image when inserted into the video, in pixels.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDuration(Integer duration)
The duration in milliseconds for the image to remain on the video.
|
void |
setFadeIn(Integer fadeIn)
The time in milliseconds for the image to fade in.
|
void |
setFadeOut(Integer fadeOut)
Applies only if a duration is specified.
|
void |
setHeight(Integer height)
The height of the image when inserted into the video, in pixels.
|
void |
setImage(InputLocation image)
The location and filename of the image file to overlay on the video.
|
void |
setImageX(Integer imageX)
Placement of the left edge of the overlay relative to the left edge of the video frame, in pixels.
|
void |
setImageY(Integer imageY)
Placement of the top edge of the overlay relative to the top edge of the video frame, in pixels.
|
void |
setLayer(Integer layer)
The number of the layer, 0 to 7.
|
void |
setOpacity(Integer opacity)
Opacity of image where 0 is transparent and 100 is fully opaque.
|
void |
setOutputNames(Collection<String> outputNames)
The name(s) of the output(s) the activation should apply to.
|
void |
setWidth(Integer width)
The width of the image when inserted into the video, in pixels.
|
String |
toString()
Returns a string representation of this object.
|
StaticImageOutputActivateScheduleActionSettings |
withDuration(Integer duration)
The duration in milliseconds for the image to remain on the video.
|
StaticImageOutputActivateScheduleActionSettings |
withFadeIn(Integer fadeIn)
The time in milliseconds for the image to fade in.
|
StaticImageOutputActivateScheduleActionSettings |
withFadeOut(Integer fadeOut)
Applies only if a duration is specified.
|
StaticImageOutputActivateScheduleActionSettings |
withHeight(Integer height)
The height of the image when inserted into the video, in pixels.
|
StaticImageOutputActivateScheduleActionSettings |
withImage(InputLocation image)
The location and filename of the image file to overlay on the video.
|
StaticImageOutputActivateScheduleActionSettings |
withImageX(Integer imageX)
Placement of the left edge of the overlay relative to the left edge of the video frame, in pixels.
|
StaticImageOutputActivateScheduleActionSettings |
withImageY(Integer imageY)
Placement of the top edge of the overlay relative to the top edge of the video frame, in pixels.
|
StaticImageOutputActivateScheduleActionSettings |
withLayer(Integer layer)
The number of the layer, 0 to 7.
|
StaticImageOutputActivateScheduleActionSettings |
withOpacity(Integer opacity)
Opacity of image where 0 is transparent and 100 is fully opaque.
|
StaticImageOutputActivateScheduleActionSettings |
withOutputNames(Collection<String> outputNames)
The name(s) of the output(s) the activation should apply to.
|
StaticImageOutputActivateScheduleActionSettings |
withOutputNames(String... outputNames)
The name(s) of the output(s) the activation should apply to.
|
StaticImageOutputActivateScheduleActionSettings |
withWidth(Integer width)
The width of the image when inserted into the video, in pixels.
|
public StaticImageOutputActivateScheduleActionSettings()
public void setDuration(Integer duration)
duration
- The duration in milliseconds for the image to remain on the video. If omitted or set to 0 the duration is
unlimited and the image will remain until it is explicitly deactivated.public Integer getDuration()
public StaticImageOutputActivateScheduleActionSettings withDuration(Integer duration)
duration
- The duration in milliseconds for the image to remain on the video. If omitted or set to 0 the duration is
unlimited and the image will remain until it is explicitly deactivated.public void setFadeIn(Integer fadeIn)
fadeIn
- The time in milliseconds for the image to fade in. The fade-in starts at the start time of the overlay.
Default is 0 (no fade-in).public Integer getFadeIn()
public StaticImageOutputActivateScheduleActionSettings withFadeIn(Integer fadeIn)
fadeIn
- The time in milliseconds for the image to fade in. The fade-in starts at the start time of the overlay.
Default is 0 (no fade-in).public void setFadeOut(Integer fadeOut)
fadeOut
- Applies only if a duration is specified. The time in milliseconds for the image to fade out. The fade-out
starts when the duration time is hit, so it effectively extends the duration. Default is 0 (no fade-out).public Integer getFadeOut()
public StaticImageOutputActivateScheduleActionSettings withFadeOut(Integer fadeOut)
fadeOut
- Applies only if a duration is specified. The time in milliseconds for the image to fade out. The fade-out
starts when the duration time is hit, so it effectively extends the duration. Default is 0 (no fade-out).public void setHeight(Integer height)
height
- The height of the image when inserted into the video, in pixels. The overlay will be scaled up or down to
the specified height. Leave blank to use the native height of the overlay.public Integer getHeight()
public StaticImageOutputActivateScheduleActionSettings withHeight(Integer height)
height
- The height of the image when inserted into the video, in pixels. The overlay will be scaled up or down to
the specified height. Leave blank to use the native height of the overlay.public void setImage(InputLocation image)
image
- The location and filename of the image file to overlay on the video. The file must be a 32-bit BMP, PNG,
or TGA file, and must not be larger (in pixels) than the input video.public InputLocation getImage()
public StaticImageOutputActivateScheduleActionSettings withImage(InputLocation image)
image
- The location and filename of the image file to overlay on the video. The file must be a 32-bit BMP, PNG,
or TGA file, and must not be larger (in pixels) than the input video.public void setImageX(Integer imageX)
imageX
- Placement of the left edge of the overlay relative to the left edge of the video frame, in pixels. 0 (the
default) is the left edge of the frame. If the placement causes the overlay to extend beyond the right
edge of the underlying video, then the overlay is cropped on the right.public Integer getImageX()
public StaticImageOutputActivateScheduleActionSettings withImageX(Integer imageX)
imageX
- Placement of the left edge of the overlay relative to the left edge of the video frame, in pixels. 0 (the
default) is the left edge of the frame. If the placement causes the overlay to extend beyond the right
edge of the underlying video, then the overlay is cropped on the right.public void setImageY(Integer imageY)
imageY
- Placement of the top edge of the overlay relative to the top edge of the video frame, in pixels. 0 (the
default) is the top edge of the frame. If the placement causes the overlay to extend beyond the bottom
edge of the underlying video, then the overlay is cropped on the bottom.public Integer getImageY()
public StaticImageOutputActivateScheduleActionSettings withImageY(Integer imageY)
imageY
- Placement of the top edge of the overlay relative to the top edge of the video frame, in pixels. 0 (the
default) is the top edge of the frame. If the placement causes the overlay to extend beyond the bottom
edge of the underlying video, then the overlay is cropped on the bottom.public void setLayer(Integer layer)
layer
- The number of the layer, 0 to 7. There are 8 layers that can be overlaid on the video, each layer with a
different image. The layers are in Z order, which means that overlays with higher values of layer are
inserted on top of overlays with lower values of layer. Default is 0.public Integer getLayer()
public StaticImageOutputActivateScheduleActionSettings withLayer(Integer layer)
layer
- The number of the layer, 0 to 7. There are 8 layers that can be overlaid on the video, each layer with a
different image. The layers are in Z order, which means that overlays with higher values of layer are
inserted on top of overlays with lower values of layer. Default is 0.public void setOpacity(Integer opacity)
opacity
- Opacity of image where 0 is transparent and 100 is fully opaque. Default is 100.public Integer getOpacity()
public StaticImageOutputActivateScheduleActionSettings withOpacity(Integer opacity)
opacity
- Opacity of image where 0 is transparent and 100 is fully opaque. Default is 100.public List<String> getOutputNames()
public void setOutputNames(Collection<String> outputNames)
outputNames
- The name(s) of the output(s) the activation should apply to.public StaticImageOutputActivateScheduleActionSettings withOutputNames(String... outputNames)
NOTE: This method appends the values to the existing list (if any). Use
setOutputNames(java.util.Collection)
or withOutputNames(java.util.Collection)
if you want to
override the existing values.
outputNames
- The name(s) of the output(s) the activation should apply to.public StaticImageOutputActivateScheduleActionSettings withOutputNames(Collection<String> outputNames)
outputNames
- The name(s) of the output(s) the activation should apply to.public void setWidth(Integer width)
width
- The width of the image when inserted into the video, in pixels. The overlay will be scaled up or down to
the specified width. Leave blank to use the native width of the overlay.public Integer getWidth()
public StaticImageOutputActivateScheduleActionSettings withWidth(Integer width)
width
- The width of the image when inserted into the video, in pixels. The overlay will be scaled up or down to
the specified width. Leave blank to use the native width of the overlay.public String toString()
toString
in class Object
Object.toString()
public StaticImageOutputActivateScheduleActionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.