#[non_exhaustive]pub struct CreatePresetInput {
pub name: Option<String>,
pub description: Option<String>,
pub container: Option<String>,
pub video: Option<VideoParameters>,
pub audio: Option<AudioParameters>,
pub thumbnails: Option<Thumbnails>,
}
Expand description
The CreatePresetRequest
structure.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
description: Option<String>
A description of the preset.
container: Option<String>
The container type for the output file. Valid values include flac
, flv
, fmp4
, gif
, mp3
, mp4
, mpg
, mxf
, oga
, ogg
, ts
, and webm
.
video: Option<VideoParameters>
A section of the request body that specifies the video parameters.
audio: Option<AudioParameters>
A section of the request body that specifies the audio parameters.
thumbnails: Option<Thumbnails>
A section of the request body that specifies the thumbnail parameters, if any.
Implementations§
source§impl CreatePresetInput
impl CreatePresetInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the preset.
sourcepub fn container(&self) -> Option<&str>
pub fn container(&self) -> Option<&str>
The container type for the output file. Valid values include flac
, flv
, fmp4
, gif
, mp3
, mp4
, mpg
, mxf
, oga
, ogg
, ts
, and webm
.
sourcepub fn video(&self) -> Option<&VideoParameters>
pub fn video(&self) -> Option<&VideoParameters>
A section of the request body that specifies the video parameters.
sourcepub fn audio(&self) -> Option<&AudioParameters>
pub fn audio(&self) -> Option<&AudioParameters>
A section of the request body that specifies the audio parameters.
sourcepub fn thumbnails(&self) -> Option<&Thumbnails>
pub fn thumbnails(&self) -> Option<&Thumbnails>
A section of the request body that specifies the thumbnail parameters, if any.
source§impl CreatePresetInput
impl CreatePresetInput
sourcepub fn builder() -> CreatePresetInputBuilder
pub fn builder() -> CreatePresetInputBuilder
Creates a new builder-style object to manufacture CreatePresetInput
.
Trait Implementations§
source§impl Clone for CreatePresetInput
impl Clone for CreatePresetInput
source§fn clone(&self) -> CreatePresetInput
fn clone(&self) -> CreatePresetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreatePresetInput
impl Debug for CreatePresetInput
source§impl PartialEq<CreatePresetInput> for CreatePresetInput
impl PartialEq<CreatePresetInput> for CreatePresetInput
source§fn eq(&self, other: &CreatePresetInput) -> bool
fn eq(&self, other: &CreatePresetInput) -> bool
self
and other
values to be equal, and is used
by ==
.