Struct aws_sdk_elastictranscoder::input::CreatePresetInput
source · [−]#[non_exhaustive]pub struct CreatePresetInput { /* private fields */ }
Expand description
The CreatePresetRequest
structure.
Implementations
sourceimpl CreatePresetInput
impl CreatePresetInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePreset, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePreset, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreatePreset
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreatePresetInput
.
sourceimpl 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.
Trait Implementations
sourceimpl Clone for CreatePresetInput
impl Clone for CreatePresetInput
sourcefn clone(&self) -> CreatePresetInput
fn clone(&self) -> CreatePresetInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CreatePresetInput
impl Debug for CreatePresetInput
sourceimpl PartialEq<CreatePresetInput> for CreatePresetInput
impl PartialEq<CreatePresetInput> for CreatePresetInput
sourcefn eq(&self, other: &CreatePresetInput) -> bool
fn eq(&self, other: &CreatePresetInput) -> bool
impl StructuralPartialEq for CreatePresetInput
Auto Trait Implementations
impl RefUnwindSafe for CreatePresetInput
impl Send for CreatePresetInput
impl Sync for CreatePresetInput
impl Unpin for CreatePresetInput
impl UnwindSafe for CreatePresetInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more