#[non_exhaustive]pub struct CreateHoursOfOperationInput {
pub instance_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub time_zone: Option<String>,
pub config: Option<Vec<HoursOfOperationConfig>>,
pub tags: Option<HashMap<String, String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name: Option<String>
The name of the hours of operation.
description: Option<String>
The description of the hours of operation.
time_zone: Option<String>
The time zone of the hours of operation.
config: Option<Vec<HoursOfOperationConfig>>
Configuration information for the hours of operation: day, start time, and end time.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Implementations§
source§impl CreateHoursOfOperationInput
impl CreateHoursOfOperationInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the hours of operation.
sourcepub fn config(&self) -> &[HoursOfOperationConfig]
pub fn config(&self) -> &[HoursOfOperationConfig]
Configuration information for the hours of operation: day, start time, and end time.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .config.is_none()
.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
source§impl CreateHoursOfOperationInput
impl CreateHoursOfOperationInput
sourcepub fn builder() -> CreateHoursOfOperationInputBuilder
pub fn builder() -> CreateHoursOfOperationInputBuilder
Creates a new builder-style object to manufacture CreateHoursOfOperationInput
.
Trait Implementations§
source§impl Clone for CreateHoursOfOperationInput
impl Clone for CreateHoursOfOperationInput
source§fn clone(&self) -> CreateHoursOfOperationInput
fn clone(&self) -> CreateHoursOfOperationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateHoursOfOperationInput
impl Debug for CreateHoursOfOperationInput
source§impl PartialEq for CreateHoursOfOperationInput
impl PartialEq for CreateHoursOfOperationInput
source§fn eq(&self, other: &CreateHoursOfOperationInput) -> bool
fn eq(&self, other: &CreateHoursOfOperationInput) -> bool
self
and other
values to be equal, and is used
by ==
.