Struct aws_sdk_mediapackagev2::operation::create_channel_group::builders::CreateChannelGroupInputBuilder
source · #[non_exhaustive]pub struct CreateChannelGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateChannelGroupInput
.
Implementations§
source§impl CreateChannelGroupInputBuilder
impl CreateChannelGroupInputBuilder
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. You can't use spaces in the name. You can't change the name after you create the channel group.
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. You can't use spaces in the name. You can't change the name after you create the channel group.
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. You can't use spaces in the name. You can't change the name after you create the channel group.
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 group.
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 group.
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 group.
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<CreateChannelGroupInput, BuildError>
pub fn build(self) -> Result<CreateChannelGroupInput, BuildError>
Consumes the builder and constructs a CreateChannelGroupInput
.
source§impl CreateChannelGroupInputBuilder
impl CreateChannelGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateChannelGroupOutput, SdkError<CreateChannelGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateChannelGroupOutput, SdkError<CreateChannelGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateChannelGroupInputBuilder
impl Clone for CreateChannelGroupInputBuilder
source§fn clone(&self) -> CreateChannelGroupInputBuilder
fn clone(&self) -> CreateChannelGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateChannelGroupInputBuilder
impl Default for CreateChannelGroupInputBuilder
source§fn default() -> CreateChannelGroupInputBuilder
fn default() -> CreateChannelGroupInputBuilder
source§impl PartialEq for CreateChannelGroupInputBuilder
impl PartialEq for CreateChannelGroupInputBuilder
source§fn eq(&self, other: &CreateChannelGroupInputBuilder) -> bool
fn eq(&self, other: &CreateChannelGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.