Struct aws_sdk_mediapackagev2::operation::create_channel::builders::CreateChannelInputBuilder
source · #[non_exhaustive]pub struct CreateChannelInputBuilder { /* private fields */ }
Expand description
A builder for CreateChannelInput
.
Implementations§
source§impl CreateChannelInputBuilder
impl CreateChannelInputBuilder
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. You can't change the name after you create the channel.
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. You can't change the name after you create the channel.
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. You can't change the name after you create the channel.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Enter any descriptive text that helps you to identify the channel.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Enter any descriptive text that helps you to identify the channel.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Enter any descriptive text that helps you to identify the channel.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A comma-separated list of tag key:value pairs that you define. For example:
"Key1": "Value1",
"Key2": "Value2"
A comma-separated list of tag key:value pairs that you define. For example:
"Key1": "Value1",
"Key2": "Value2"
A comma-separated list of tag key:value pairs that you define. For example:
"Key1": "Value1",
"Key2": "Value2"
sourcepub fn build(self) -> Result<CreateChannelInput, BuildError>
pub fn build(self) -> Result<CreateChannelInput, BuildError>
Consumes the builder and constructs a CreateChannelInput
.
source§impl CreateChannelInputBuilder
impl CreateChannelInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateChannelOutput, SdkError<CreateChannelError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateChannelOutput, SdkError<CreateChannelError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateChannelInputBuilder
impl Clone for CreateChannelInputBuilder
source§fn clone(&self) -> CreateChannelInputBuilder
fn clone(&self) -> CreateChannelInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateChannelInputBuilder
impl Debug for CreateChannelInputBuilder
source§impl Default for CreateChannelInputBuilder
impl Default for CreateChannelInputBuilder
source§fn default() -> CreateChannelInputBuilder
fn default() -> CreateChannelInputBuilder
source§impl PartialEq for CreateChannelInputBuilder
impl PartialEq for CreateChannelInputBuilder
source§fn eq(&self, other: &CreateChannelInputBuilder) -> bool
fn eq(&self, other: &CreateChannelInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.