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 ==
.impl StructuralPartialEq for UserProficiencyBuilder
Auto Trait Implementations§
impl Freeze for UserProficiencyBuilder
impl RefUnwindSafe for UserProficiencyBuilder
impl Send for UserProficiencyBuilder
impl Sync for UserProficiencyBuilder
impl Unpin for UserProficiencyBuilder
impl UnwindSafe for UserProficiencyBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more