Struct aws_sdk_connect::operation::update_contact_schedule::builders::UpdateContactScheduleInputBuilder
source · #[non_exhaustive]pub struct UpdateContactScheduleInputBuilder { /* private fields */ }
Expand description
A builder for UpdateContactScheduleInput
.
Implementations§
source§impl UpdateContactScheduleInputBuilder
impl UpdateContactScheduleInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn contact_id(self, input: impl Into<String>) -> Self
pub fn contact_id(self, input: impl Into<String>) -> Self
The identifier of the contact.
This field is required.sourcepub fn set_contact_id(self, input: Option<String>) -> Self
pub fn set_contact_id(self, input: Option<String>) -> Self
The identifier of the contact.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of the contact.
sourcepub fn scheduled_time(self, input: DateTime) -> Self
pub fn scheduled_time(self, input: DateTime) -> Self
The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
This field is required.sourcepub fn set_scheduled_time(self, input: Option<DateTime>) -> Self
pub fn set_scheduled_time(self, input: Option<DateTime>) -> Self
The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
sourcepub fn get_scheduled_time(&self) -> &Option<DateTime>
pub fn get_scheduled_time(&self) -> &Option<DateTime>
The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
sourcepub fn build(self) -> Result<UpdateContactScheduleInput, BuildError>
pub fn build(self) -> Result<UpdateContactScheduleInput, BuildError>
Consumes the builder and constructs a UpdateContactScheduleInput
.
source§impl UpdateContactScheduleInputBuilder
impl UpdateContactScheduleInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateContactScheduleOutput, SdkError<UpdateContactScheduleError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateContactScheduleOutput, SdkError<UpdateContactScheduleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateContactScheduleInputBuilder
impl Clone for UpdateContactScheduleInputBuilder
source§fn clone(&self) -> UpdateContactScheduleInputBuilder
fn clone(&self) -> UpdateContactScheduleInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateContactScheduleInputBuilder
impl Default for UpdateContactScheduleInputBuilder
source§fn default() -> UpdateContactScheduleInputBuilder
fn default() -> UpdateContactScheduleInputBuilder
source§impl PartialEq for UpdateContactScheduleInputBuilder
impl PartialEq for UpdateContactScheduleInputBuilder
source§fn eq(&self, other: &UpdateContactScheduleInputBuilder) -> bool
fn eq(&self, other: &UpdateContactScheduleInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.