pub struct Builder { /* private fields */ }Expand description
A builder for CreateScheduleGroupInput.
Implementations§
source§impl Builder
impl Builder
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.
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.
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.
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 build(self) -> Result<CreateScheduleGroupInput, BuildError>
pub fn build(self) -> Result<CreateScheduleGroupInput, BuildError>
Consumes the builder and constructs a CreateScheduleGroupInput.