Struct aws_sdk_mediapackagev2::operation::create_origin_endpoint::builders::CreateOriginEndpointOutputBuilder
source · #[non_exhaustive]pub struct CreateOriginEndpointOutputBuilder { /* private fields */ }
Expand description
A builder for CreateOriginEndpointOutput
.
Implementations§
source§impl CreateOriginEndpointOutputBuilder
impl CreateOriginEndpointOutputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) associated with the resource.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) associated with the resource.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) associated with the resource.
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.
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.
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.
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.
This field is required.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 created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time the origin endpoint was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time the origin endpoint was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time the origin endpoint was created.
sourcepub fn modified_at(self, input: DateTime) -> Self
pub fn modified_at(self, input: DateTime) -> Self
The date and time the origin endpoint was modified.
This field is required.sourcepub fn set_modified_at(self, input: Option<DateTime>) -> Self
pub fn set_modified_at(self, input: Option<DateTime>) -> Self
The date and time the origin endpoint was modified.
sourcepub fn get_modified_at(&self) -> &Option<DateTime>
pub fn get_modified_at(&self) -> &Option<DateTime>
The date and time the origin endpoint was modified.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for your origin endpoint.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for your origin endpoint.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for your origin endpoint.
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.
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.
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.
sourcepub fn hls_manifests(self, input: GetHlsManifestConfiguration) -> Self
pub fn hls_manifests(self, input: GetHlsManifestConfiguration) -> 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<GetHlsManifestConfiguration>>
) -> Self
pub fn set_hls_manifests( self, input: Option<Vec<GetHlsManifestConfiguration>> ) -> Self
An HTTP live streaming (HLS) manifest configuration.
sourcepub fn get_hls_manifests(&self) -> &Option<Vec<GetHlsManifestConfiguration>>
pub fn get_hls_manifests(&self) -> &Option<Vec<GetHlsManifestConfiguration>>
An HTTP live streaming (HLS) manifest configuration.
sourcepub fn low_latency_hls_manifests(
self,
input: GetLowLatencyHlsManifestConfiguration
) -> Self
pub fn low_latency_hls_manifests( self, input: GetLowLatencyHlsManifestConfiguration ) -> 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<GetLowLatencyHlsManifestConfiguration>>
) -> Self
pub fn set_low_latency_hls_manifests( self, input: Option<Vec<GetLowLatencyHlsManifestConfiguration>> ) -> Self
A low-latency HLS manifest configuration.
sourcepub fn get_low_latency_hls_manifests(
&self
) -> &Option<Vec<GetLowLatencyHlsManifestConfiguration>>
pub fn get_low_latency_hls_manifests( &self ) -> &Option<Vec<GetLowLatencyHlsManifestConfiguration>>
A low-latency HLS manifest configuration.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The comma-separated list of tag key:value pairs assigned to the origin endpoint.
The comma-separated list of tag key:value pairs assigned to the origin endpoint.
The comma-separated list of tag key:value pairs assigned to the origin endpoint.
sourcepub fn build(self) -> Result<CreateOriginEndpointOutput, BuildError>
pub fn build(self) -> Result<CreateOriginEndpointOutput, BuildError>
Consumes the builder and constructs a CreateOriginEndpointOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateOriginEndpointOutputBuilder
impl Clone for CreateOriginEndpointOutputBuilder
source§fn clone(&self) -> CreateOriginEndpointOutputBuilder
fn clone(&self) -> CreateOriginEndpointOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateOriginEndpointOutputBuilder
impl Default for CreateOriginEndpointOutputBuilder
source§fn default() -> CreateOriginEndpointOutputBuilder
fn default() -> CreateOriginEndpointOutputBuilder
source§impl PartialEq for CreateOriginEndpointOutputBuilder
impl PartialEq for CreateOriginEndpointOutputBuilder
source§fn eq(&self, other: &CreateOriginEndpointOutputBuilder) -> bool
fn eq(&self, other: &CreateOriginEndpointOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.