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 e_tag(self, input: impl Into<String>) -> Self
pub fn e_tag(self, input: impl Into<String>) -> Self
The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.
sourcepub fn set_e_tag(self, input: Option<String>) -> Self
pub fn set_e_tag(self, input: Option<String>) -> Self
The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.
sourcepub fn get_e_tag(&self) -> &Option<String>
pub fn get_e_tag(&self) -> &Option<String>
The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.
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 ==.impl StructuralPartialEq for CreateChannelGroupOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateChannelGroupOutputBuilder
impl RefUnwindSafe for CreateChannelGroupOutputBuilder
impl Send for CreateChannelGroupOutputBuilder
impl Sync for CreateChannelGroupOutputBuilder
impl Unpin for CreateChannelGroupOutputBuilder
impl UnwindSafe for CreateChannelGroupOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more