Struct aws_sdk_mediapackagev2::operation::update_origin_endpoint::builders::UpdateOriginEndpointInputBuilder
source · #[non_exhaustive]pub struct UpdateOriginEndpointInputBuilder { /* private fields */ }
Expand description
A builder for UpdateOriginEndpointInput
.
Implementations§
source§impl UpdateOriginEndpointInputBuilder
impl UpdateOriginEndpointInputBuilder
sourcepub fn channel_group_name(self, input: impl Into<String>) -> Self
pub fn channel_group_name(self, input: impl Into<String>) -> Self
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
This field is required.sourcepub fn set_channel_group_name(self, input: Option<String>) -> Self
pub fn set_channel_group_name(self, input: Option<String>) -> Self
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
sourcepub fn get_channel_group_name(&self) -> &Option<String>
pub fn get_channel_group_name(&self) -> &Option<String>
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
sourcepub fn channel_name(self, input: impl Into<String>) -> Self
pub fn channel_name(self, input: impl Into<String>) -> Self
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
This field is required.sourcepub fn set_channel_name(self, input: Option<String>) -> Self
pub fn set_channel_name(self, input: Option<String>) -> Self
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
sourcepub fn get_channel_name(&self) -> &Option<String>
pub fn get_channel_name(&self) -> &Option<String>
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
sourcepub fn origin_endpoint_name(self, input: impl Into<String>) -> Self
pub fn origin_endpoint_name(self, input: impl Into<String>) -> Self
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
This field is required.sourcepub fn set_origin_endpoint_name(self, input: Option<String>) -> Self
pub fn set_origin_endpoint_name(self, input: Option<String>) -> Self
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
sourcepub fn get_origin_endpoint_name(&self) -> &Option<String>
pub fn get_origin_endpoint_name(&self) -> &Option<String>
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
sourcepub fn container_type(self, input: ContainerType) -> Self
pub fn container_type(self, input: ContainerType) -> Self
The type of container attached to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file.
This field is required.sourcepub fn set_container_type(self, input: Option<ContainerType>) -> Self
pub fn set_container_type(self, input: Option<ContainerType>) -> Self
The type of container attached to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file.
sourcepub fn get_container_type(&self) -> &Option<ContainerType>
pub fn get_container_type(&self) -> &Option<ContainerType>
The type of container attached to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file.
sourcepub fn segment(self, input: Segment) -> Self
pub fn segment(self, input: Segment) -> Self
The segment configuration, including the segment name, duration, and other configuration values.
sourcepub fn set_segment(self, input: Option<Segment>) -> Self
pub fn set_segment(self, input: Option<Segment>) -> Self
The segment configuration, including the segment name, duration, and other configuration values.
sourcepub fn get_segment(&self) -> &Option<Segment>
pub fn get_segment(&self) -> &Option<Segment>
The segment configuration, including the segment name, duration, and other configuration values.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Any descriptive information that you want to add to the origin endpoint for future identification purposes.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Any descriptive information that you want to add to the origin endpoint for future identification purposes.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Any descriptive information that you want to add to the origin endpoint for future identification purposes.
sourcepub fn startover_window_seconds(self, input: i32) -> Self
pub fn startover_window_seconds(self, input: i32) -> Self
The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).
sourcepub fn set_startover_window_seconds(self, input: Option<i32>) -> Self
pub fn set_startover_window_seconds(self, input: Option<i32>) -> Self
The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).
sourcepub fn get_startover_window_seconds(&self) -> &Option<i32>
pub fn get_startover_window_seconds(&self) -> &Option<i32>
The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).
sourcepub fn hls_manifests(self, input: CreateHlsManifestConfiguration) -> Self
pub fn hls_manifests(self, input: CreateHlsManifestConfiguration) -> Self
Appends an item to hls_manifests
.
To override the contents of this collection use set_hls_manifests
.
An HTTP live streaming (HLS) manifest configuration.
sourcepub fn set_hls_manifests(
self,
input: Option<Vec<CreateHlsManifestConfiguration>>
) -> Self
pub fn set_hls_manifests( self, input: Option<Vec<CreateHlsManifestConfiguration>> ) -> Self
An HTTP live streaming (HLS) manifest configuration.
sourcepub fn get_hls_manifests(&self) -> &Option<Vec<CreateHlsManifestConfiguration>>
pub fn get_hls_manifests(&self) -> &Option<Vec<CreateHlsManifestConfiguration>>
An HTTP live streaming (HLS) manifest configuration.
sourcepub fn low_latency_hls_manifests(
self,
input: CreateLowLatencyHlsManifestConfiguration
) -> Self
pub fn low_latency_hls_manifests( self, input: CreateLowLatencyHlsManifestConfiguration ) -> Self
Appends an item to low_latency_hls_manifests
.
To override the contents of this collection use set_low_latency_hls_manifests
.
A low-latency HLS manifest configuration.
sourcepub fn set_low_latency_hls_manifests(
self,
input: Option<Vec<CreateLowLatencyHlsManifestConfiguration>>
) -> Self
pub fn set_low_latency_hls_manifests( self, input: Option<Vec<CreateLowLatencyHlsManifestConfiguration>> ) -> Self
A low-latency HLS manifest configuration.
sourcepub fn get_low_latency_hls_manifests(
&self
) -> &Option<Vec<CreateLowLatencyHlsManifestConfiguration>>
pub fn get_low_latency_hls_manifests( &self ) -> &Option<Vec<CreateLowLatencyHlsManifestConfiguration>>
A low-latency HLS manifest configuration.
sourcepub fn build(self) -> Result<UpdateOriginEndpointInput, BuildError>
pub fn build(self) -> Result<UpdateOriginEndpointInput, BuildError>
Consumes the builder and constructs a UpdateOriginEndpointInput
.
source§impl UpdateOriginEndpointInputBuilder
impl UpdateOriginEndpointInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateOriginEndpointOutput, SdkError<UpdateOriginEndpointError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateOriginEndpointOutput, SdkError<UpdateOriginEndpointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateOriginEndpointInputBuilder
impl Clone for UpdateOriginEndpointInputBuilder
source§fn clone(&self) -> UpdateOriginEndpointInputBuilder
fn clone(&self) -> UpdateOriginEndpointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateOriginEndpointInputBuilder
impl Default for UpdateOriginEndpointInputBuilder
source§fn default() -> UpdateOriginEndpointInputBuilder
fn default() -> UpdateOriginEndpointInputBuilder
source§impl PartialEq for UpdateOriginEndpointInputBuilder
impl PartialEq for UpdateOriginEndpointInputBuilder
source§fn eq(&self, other: &UpdateOriginEndpointInputBuilder) -> bool
fn eq(&self, other: &UpdateOriginEndpointInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.