#[non_exhaustive]pub struct EncoderConfigurationBuilder { /* private fields */ }Expand description
A builder for EncoderConfiguration.
Implementations§
source§impl EncoderConfigurationBuilder
impl EncoderConfigurationBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
ARN of the EncoderConfiguration resource.
This field is required.sourcepub fn video(self, input: Video) -> Self
pub fn video(self, input: Video) -> Self
Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps
sourcepub fn set_video(self, input: Option<Video>) -> Self
pub fn set_video(self, input: Option<Video>) -> Self
Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps
sourcepub fn get_video(&self) -> &Option<Video>
pub fn get_video(&self) -> &Option<Video>
Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
sourcepub fn build(self) -> Result<EncoderConfiguration, BuildError>
pub fn build(self) -> Result<EncoderConfiguration, BuildError>
Consumes the builder and constructs a EncoderConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EncoderConfigurationBuilder
impl Clone for EncoderConfigurationBuilder
source§fn clone(&self) -> EncoderConfigurationBuilder
fn clone(&self) -> EncoderConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EncoderConfigurationBuilder
impl Debug for EncoderConfigurationBuilder
source§impl Default for EncoderConfigurationBuilder
impl Default for EncoderConfigurationBuilder
source§fn default() -> EncoderConfigurationBuilder
fn default() -> EncoderConfigurationBuilder
source§impl PartialEq for EncoderConfigurationBuilder
impl PartialEq for EncoderConfigurationBuilder
source§fn eq(&self, other: &EncoderConfigurationBuilder) -> bool
fn eq(&self, other: &EncoderConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.