Struct aws_sdk_connect::types::builders::UserProficiencyBuilder
source · #[non_exhaustive]pub struct UserProficiencyBuilder { /* private fields */ }
Expand description
A builder for UserProficiency
.
Implementations§
source§impl UserProficiencyBuilder
impl UserProficiencyBuilder
sourcepub fn attribute_name(self, input: impl Into<String>) -> Self
pub fn attribute_name(self, input: impl Into<String>) -> Self
The name of user's proficiency. You must use name of predefined attribute present in the Amazon Connect instance.
This field is required.sourcepub fn set_attribute_name(self, input: Option<String>) -> Self
pub fn set_attribute_name(self, input: Option<String>) -> Self
The name of user's proficiency. You must use name of predefined attribute present in the Amazon Connect instance.
sourcepub fn get_attribute_name(&self) -> &Option<String>
pub fn get_attribute_name(&self) -> &Option<String>
The name of user's proficiency. You must use name of predefined attribute present in the Amazon Connect instance.
sourcepub fn attribute_value(self, input: impl Into<String>) -> Self
pub fn attribute_value(self, input: impl Into<String>) -> Self
The value of user's proficiency. You must use value of predefined attribute present in the Amazon Connect instance.
This field is required.sourcepub fn set_attribute_value(self, input: Option<String>) -> Self
pub fn set_attribute_value(self, input: Option<String>) -> Self
The value of user's proficiency. You must use value of predefined attribute present in the Amazon Connect instance.
sourcepub fn get_attribute_value(&self) -> &Option<String>
pub fn get_attribute_value(&self) -> &Option<String>
The value of user's proficiency. You must use value of predefined attribute present in the Amazon Connect instance.
sourcepub fn level(self, input: f32) -> Self
pub fn level(self, input: f32) -> Self
The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.
This field is required.sourcepub fn set_level(self, input: Option<f32>) -> Self
pub fn set_level(self, input: Option<f32>) -> Self
The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.
sourcepub fn get_level(&self) -> &Option<f32>
pub fn get_level(&self) -> &Option<f32>
The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.
sourcepub fn build(self) -> Result<UserProficiency, BuildError>
pub fn build(self) -> Result<UserProficiency, BuildError>
Consumes the builder and constructs a UserProficiency
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UserProficiencyBuilder
impl Clone for UserProficiencyBuilder
source§fn clone(&self) -> UserProficiencyBuilder
fn clone(&self) -> UserProficiencyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserProficiencyBuilder
impl Debug for UserProficiencyBuilder
source§impl Default for UserProficiencyBuilder
impl Default for UserProficiencyBuilder
source§fn default() -> UserProficiencyBuilder
fn default() -> UserProficiencyBuilder
source§impl PartialEq for UserProficiencyBuilder
impl PartialEq for UserProficiencyBuilder
source§fn eq(&self, other: &UserProficiencyBuilder) -> bool
fn eq(&self, other: &UserProficiencyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.