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, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePreset, AwsErrorRetryPolicy>, 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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more