Struct aws_sdk_scheduler::operation::create_schedule_group::builders::CreateScheduleGroupInputBuilder
source · #[non_exhaustive]pub struct CreateScheduleGroupInputBuilder { /* private fields */ }Expand description
A builder for CreateScheduleGroupInput.
Implementations§
source§impl CreateScheduleGroupInputBuilder
impl CreateScheduleGroupInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the schedule group that you are creating.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the schedule group that you are creating.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the schedule group that you are creating.
Appends an item to tags.
To override the contents of this collection use set_tags.
The list of tags to associate with the schedule group.
The list of tags to associate with the schedule group.
The list of tags to associate with the schedule group.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
sourcepub fn build(self) -> Result<CreateScheduleGroupInput, BuildError>
pub fn build(self) -> Result<CreateScheduleGroupInput, BuildError>
Consumes the builder and constructs a CreateScheduleGroupInput.
source§impl CreateScheduleGroupInputBuilder
impl CreateScheduleGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateScheduleGroupOutput, SdkError<CreateScheduleGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateScheduleGroupOutput, SdkError<CreateScheduleGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateScheduleGroupInputBuilder
impl Clone for CreateScheduleGroupInputBuilder
source§fn clone(&self) -> CreateScheduleGroupInputBuilder
fn clone(&self) -> CreateScheduleGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateScheduleGroupInputBuilder
impl Default for CreateScheduleGroupInputBuilder
source§fn default() -> CreateScheduleGroupInputBuilder
fn default() -> CreateScheduleGroupInputBuilder
source§impl PartialEq for CreateScheduleGroupInputBuilder
impl PartialEq for CreateScheduleGroupInputBuilder
source§fn eq(&self, other: &CreateScheduleGroupInputBuilder) -> bool
fn eq(&self, other: &CreateScheduleGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.