Struct aws_sdk_mediapackagev2::operation::create_channel_group::builders::CreateChannelGroupOutputBuilder
source · #[non_exhaustive]pub struct CreateChannelGroupOutputBuilder { /* private fields */ }
Expand description
A builder for CreateChannelGroupOutput
.
Implementations§
source§impl CreateChannelGroupOutputBuilder
impl CreateChannelGroupOutputBuilder
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 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 egress_domain(self, input: impl Into<String>) -> Self
pub fn egress_domain(self, input: impl Into<String>) -> Self
The output domain where the source stream should be sent. Integrate the egress domain with a downstream CDN (such as Amazon CloudFront) or playback device.
This field is required.sourcepub fn set_egress_domain(self, input: Option<String>) -> Self
pub fn set_egress_domain(self, input: Option<String>) -> Self
The output domain where the source stream should be sent. Integrate the egress domain with a downstream CDN (such as Amazon CloudFront) or playback device.
sourcepub fn get_egress_domain(&self) -> &Option<String>
pub fn get_egress_domain(&self) -> &Option<String>
The output domain where the source stream should be sent. Integrate the egress domain with a downstream CDN (such as Amazon CloudFront) or playback device.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time the channel group 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 channel group was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time the channel group was created.
sourcepub fn modified_at(self, input: DateTime) -> Self
pub fn modified_at(self, input: DateTime) -> Self
The date and time the channel group 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 channel group was modified.
sourcepub fn get_modified_at(&self) -> &Option<DateTime>
pub fn get_modified_at(&self) -> &Option<DateTime>
The date and time the channel group was modified.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for your channel group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for your channel group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for your channel group.
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 channel group.
The comma-separated list of tag key:value pairs assigned to the channel group.
The comma-separated list of tag key:value pairs assigned to the channel group.
sourcepub fn build(self) -> Result<CreateChannelGroupOutput, BuildError>
pub fn build(self) -> Result<CreateChannelGroupOutput, BuildError>
Consumes the builder and constructs a CreateChannelGroupOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateChannelGroupOutputBuilder
impl Clone for CreateChannelGroupOutputBuilder
source§fn clone(&self) -> CreateChannelGroupOutputBuilder
fn clone(&self) -> CreateChannelGroupOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateChannelGroupOutputBuilder
impl Default for CreateChannelGroupOutputBuilder
source§fn default() -> CreateChannelGroupOutputBuilder
fn default() -> CreateChannelGroupOutputBuilder
source§impl PartialEq for CreateChannelGroupOutputBuilder
impl PartialEq for CreateChannelGroupOutputBuilder
source§fn eq(&self, other: &CreateChannelGroupOutputBuilder) -> bool
fn eq(&self, other: &CreateChannelGroupOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.