Struct aws_sdk_connect::operation::update_hours_of_operation::builders::UpdateHoursOfOperationInputBuilder
source · #[non_exhaustive]pub struct UpdateHoursOfOperationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateHoursOfOperationInput
.
Implementations§
source§impl UpdateHoursOfOperationInputBuilder
impl UpdateHoursOfOperationInputBuilder
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 instanceId in the ARN of the instance.
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 instanceId in the ARN of the instance.
sourcepub fn hours_of_operation_id(self, input: impl Into<String>) -> Self
pub fn hours_of_operation_id(self, input: impl Into<String>) -> Self
The identifier of the hours of operation.
sourcepub fn set_hours_of_operation_id(self, input: Option<String>) -> Self
pub fn set_hours_of_operation_id(self, input: Option<String>) -> Self
The identifier of the hours of operation.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the hours of operation.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the hours of operation.
sourcepub fn time_zone(self, input: impl Into<String>) -> Self
pub fn time_zone(self, input: impl Into<String>) -> Self
The time zone of the hours of operation.
sourcepub fn set_time_zone(self, input: Option<String>) -> Self
pub fn set_time_zone(self, input: Option<String>) -> Self
The time zone of the hours of operation.
sourcepub fn config(self, input: HoursOfOperationConfig) -> Self
pub fn config(self, input: HoursOfOperationConfig) -> Self
Appends an item to config
.
To override the contents of this collection use set_config
.
Configuration information of the hours of operation.
sourcepub fn set_config(self, input: Option<Vec<HoursOfOperationConfig>>) -> Self
pub fn set_config(self, input: Option<Vec<HoursOfOperationConfig>>) -> Self
Configuration information of the hours of operation.
sourcepub fn build(self) -> Result<UpdateHoursOfOperationInput, BuildError>
pub fn build(self) -> Result<UpdateHoursOfOperationInput, BuildError>
Consumes the builder and constructs a UpdateHoursOfOperationInput
.
Trait Implementations§
source§impl Clone for UpdateHoursOfOperationInputBuilder
impl Clone for UpdateHoursOfOperationInputBuilder
source§fn clone(&self) -> UpdateHoursOfOperationInputBuilder
fn clone(&self) -> UpdateHoursOfOperationInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateHoursOfOperationInputBuilder
impl Default for UpdateHoursOfOperationInputBuilder
source§fn default() -> UpdateHoursOfOperationInputBuilder
fn default() -> UpdateHoursOfOperationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateHoursOfOperationInputBuilder> for UpdateHoursOfOperationInputBuilder
impl PartialEq<UpdateHoursOfOperationInputBuilder> for UpdateHoursOfOperationInputBuilder
source§fn eq(&self, other: &UpdateHoursOfOperationInputBuilder) -> bool
fn eq(&self, other: &UpdateHoursOfOperationInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.