Struct aws_sdk_mediatailor::operation::create_live_source::builders::CreateLiveSourceFluentBuilder
source · pub struct CreateLiveSourceFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateLiveSource.
The live source configuration.
Implementations§
source§impl CreateLiveSourceFluentBuilder
impl CreateLiveSourceFluentBuilder
sourcepub fn as_input(&self) -> &CreateLiveSourceInputBuilder
pub fn as_input(&self) -> &CreateLiveSourceInputBuilder
Access the CreateLiveSource as a reference.
sourcepub async fn send(
self
) -> Result<CreateLiveSourceOutput, SdkError<CreateLiveSourceError, HttpResponse>>
pub async fn send( self ) -> Result<CreateLiveSourceOutput, SdkError<CreateLiveSourceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateLiveSourceOutput, CreateLiveSourceError, Self>, SdkError<CreateLiveSourceError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateLiveSourceOutput, CreateLiveSourceError, Self>, SdkError<CreateLiveSourceError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn http_package_configurations(
self,
input: HttpPackageConfiguration
) -> Self
pub fn http_package_configurations( self, input: HttpPackageConfiguration ) -> Self
Appends an item to HttpPackageConfigurations.
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.
Trait Implementations§
source§impl Clone for CreateLiveSourceFluentBuilder
impl Clone for CreateLiveSourceFluentBuilder
source§fn clone(&self) -> CreateLiveSourceFluentBuilder
fn clone(&self) -> CreateLiveSourceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more