Struct aws_sdk_mediapackagev2::operation::create_channel::builders::CreateChannelOutputBuilder
source · #[non_exhaustive]pub struct CreateChannelOutputBuilder { /* private fields */ }
Expand description
A builder for CreateChannelOutput
.
Implementations§
source§impl CreateChannelOutputBuilder
impl CreateChannelOutputBuilder
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_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 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 created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time the channel 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 was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time the channel was created.
sourcepub fn modified_at(self, input: DateTime) -> Self
pub fn modified_at(self, input: DateTime) -> Self
The date and time the channel 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 was modified.
sourcepub fn get_modified_at(&self) -> &Option<DateTime>
pub fn get_modified_at(&self) -> &Option<DateTime>
The date and time the channel 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.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for your channel.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for your channel.
sourcepub fn ingest_endpoints(self, input: IngestEndpoint) -> Self
pub fn ingest_endpoints(self, input: IngestEndpoint) -> Self
Appends an item to ingest_endpoints
.
To override the contents of this collection use set_ingest_endpoints
.
The list of ingest endpoints.
sourcepub fn set_ingest_endpoints(self, input: Option<Vec<IngestEndpoint>>) -> Self
pub fn set_ingest_endpoints(self, input: Option<Vec<IngestEndpoint>>) -> Self
The list of ingest endpoints.
sourcepub fn get_ingest_endpoints(&self) -> &Option<Vec<IngestEndpoint>>
pub fn get_ingest_endpoints(&self) -> &Option<Vec<IngestEndpoint>>
The list of ingest endpoints.
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.
The comma-separated list of tag key:value pairs assigned to the channel.
The comma-separated list of tag key:value pairs assigned to the channel.
sourcepub fn build(self) -> Result<CreateChannelOutput, BuildError>
pub fn build(self) -> Result<CreateChannelOutput, BuildError>
Consumes the builder and constructs a CreateChannelOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateChannelOutputBuilder
impl Clone for CreateChannelOutputBuilder
source§fn clone(&self) -> CreateChannelOutputBuilder
fn clone(&self) -> CreateChannelOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateChannelOutputBuilder
impl Debug for CreateChannelOutputBuilder
source§impl Default for CreateChannelOutputBuilder
impl Default for CreateChannelOutputBuilder
source§fn default() -> CreateChannelOutputBuilder
fn default() -> CreateChannelOutputBuilder
source§impl PartialEq for CreateChannelOutputBuilder
impl PartialEq for CreateChannelOutputBuilder
source§fn eq(&self, other: &CreateChannelOutputBuilder) -> bool
fn eq(&self, other: &CreateChannelOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.