pub struct Builder { /* private fields */ }
Expand description
A builder for CreatePresetOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn preset(self, input: Preset) -> Self
pub fn preset(self, input: Preset) -> Self
A section of the response body that provides information about the preset that is created.
sourcepub fn set_preset(self, input: Option<Preset>) -> Self
pub fn set_preset(self, input: Option<Preset>) -> Self
A section of the response body that provides information about the preset that is created.
sourcepub fn warning(self, input: impl Into<String>) -> Self
pub fn warning(self, input: impl Into<String>) -> Self
If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.
sourcepub fn set_warning(self, input: Option<String>) -> Self
pub fn set_warning(self, input: Option<String>) -> Self
If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.
sourcepub fn build(self) -> CreatePresetOutput
pub fn build(self) -> CreatePresetOutput
Consumes the builder and constructs a CreatePresetOutput
.