Struct aws_sdk_mediatailor::operation::create_live_source::builders::CreateLiveSourceInputBuilder
source · #[non_exhaustive]pub struct CreateLiveSourceInputBuilder { /* private fields */ }Expand description
A builder for CreateLiveSourceInput.
Implementations§
source§impl CreateLiveSourceInputBuilder
impl CreateLiveSourceInputBuilder
sourcepub fn http_package_configurations(
self,
input: HttpPackageConfiguration
) -> Self
pub fn http_package_configurations( self, input: HttpPackageConfiguration ) -> Self
Appends an item to http_package_configurations.
To override the contents of this collection use set_http_package_configurations.
A list of HTTP package configuration parameters for this live source.
sourcepub fn set_http_package_configurations(
self,
input: Option<Vec<HttpPackageConfiguration>>
) -> Self
pub fn set_http_package_configurations( self, input: Option<Vec<HttpPackageConfiguration>> ) -> Self
A list of HTTP package configuration parameters for this live source.
sourcepub fn get_http_package_configurations(
&self
) -> &Option<Vec<HttpPackageConfiguration>>
pub fn get_http_package_configurations( &self ) -> &Option<Vec<HttpPackageConfiguration>>
A list of HTTP package configuration parameters for this live source.
sourcepub fn live_source_name(self, input: impl Into<String>) -> Self
pub fn live_source_name(self, input: impl Into<String>) -> Self
The name of the live source.
sourcepub fn set_live_source_name(self, input: Option<String>) -> Self
pub fn set_live_source_name(self, input: Option<String>) -> Self
The name of the live source.
sourcepub fn get_live_source_name(&self) -> &Option<String>
pub fn get_live_source_name(&self) -> &Option<String>
The name of the live source.
sourcepub fn source_location_name(self, input: impl Into<String>) -> Self
pub fn source_location_name(self, input: impl Into<String>) -> Self
The name of the source location.
sourcepub fn set_source_location_name(self, input: Option<String>) -> Self
pub fn set_source_location_name(self, input: Option<String>) -> Self
The name of the source location.
sourcepub fn get_source_location_name(&self) -> &Option<String>
pub fn get_source_location_name(&self) -> &Option<String>
The name of the source location.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags to assign to the live source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
The tags to assign to the live source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
The tags to assign to the live source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
sourcepub fn build(self) -> Result<CreateLiveSourceInput, BuildError>
pub fn build(self) -> Result<CreateLiveSourceInput, BuildError>
Consumes the builder and constructs a CreateLiveSourceInput.
source§impl CreateLiveSourceInputBuilder
impl CreateLiveSourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateLiveSourceOutput, SdkError<CreateLiveSourceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateLiveSourceOutput, SdkError<CreateLiveSourceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLiveSourceInputBuilder
impl Clone for CreateLiveSourceInputBuilder
source§fn clone(&self) -> CreateLiveSourceInputBuilder
fn clone(&self) -> CreateLiveSourceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateLiveSourceInputBuilder
impl Debug for CreateLiveSourceInputBuilder
source§impl Default for CreateLiveSourceInputBuilder
impl Default for CreateLiveSourceInputBuilder
source§fn default() -> CreateLiveSourceInputBuilder
fn default() -> CreateLiveSourceInputBuilder
source§impl PartialEq for CreateLiveSourceInputBuilder
impl PartialEq for CreateLiveSourceInputBuilder
source§fn eq(&self, other: &CreateLiveSourceInputBuilder) -> bool
fn eq(&self, other: &CreateLiveSourceInputBuilder) -> bool
self and other values to be equal, and is used
by ==.