Struct aws_sdk_connect::operation::update_user_hierarchy_group_name::builders::UpdateUserHierarchyGroupNameInputBuilder
source · #[non_exhaustive]pub struct UpdateUserHierarchyGroupNameInputBuilder { /* private fields */ }Expand description
A builder for UpdateUserHierarchyGroupNameInput.
Implementations§
source§impl UpdateUserHierarchyGroupNameInputBuilder
impl UpdateUserHierarchyGroupNameInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the hierarchy group. Must not be more than 100 characters.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the hierarchy group. Must not be more than 100 characters.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the hierarchy group. Must not be more than 100 characters.
sourcepub fn hierarchy_group_id(self, input: impl Into<String>) -> Self
pub fn hierarchy_group_id(self, input: impl Into<String>) -> Self
The identifier of the hierarchy group.
This field is required.sourcepub fn set_hierarchy_group_id(self, input: Option<String>) -> Self
pub fn set_hierarchy_group_id(self, input: Option<String>) -> Self
The identifier of the hierarchy group.
sourcepub fn get_hierarchy_group_id(&self) -> &Option<String>
pub fn get_hierarchy_group_id(&self) -> &Option<String>
The identifier of the hierarchy group.
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 build(self) -> Result<UpdateUserHierarchyGroupNameInput, BuildError>
pub fn build(self) -> Result<UpdateUserHierarchyGroupNameInput, BuildError>
Consumes the builder and constructs a UpdateUserHierarchyGroupNameInput.
source§impl UpdateUserHierarchyGroupNameInputBuilder
impl UpdateUserHierarchyGroupNameInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateUserHierarchyGroupNameOutput, SdkError<UpdateUserHierarchyGroupNameError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateUserHierarchyGroupNameOutput, SdkError<UpdateUserHierarchyGroupNameError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateUserHierarchyGroupNameInputBuilder
impl Clone for UpdateUserHierarchyGroupNameInputBuilder
source§fn clone(&self) -> UpdateUserHierarchyGroupNameInputBuilder
fn clone(&self) -> UpdateUserHierarchyGroupNameInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateUserHierarchyGroupNameInputBuilder
impl Default for UpdateUserHierarchyGroupNameInputBuilder
source§fn default() -> UpdateUserHierarchyGroupNameInputBuilder
fn default() -> UpdateUserHierarchyGroupNameInputBuilder
source§impl PartialEq for UpdateUserHierarchyGroupNameInputBuilder
impl PartialEq for UpdateUserHierarchyGroupNameInputBuilder
source§fn eq(&self, other: &UpdateUserHierarchyGroupNameInputBuilder) -> bool
fn eq(&self, other: &UpdateUserHierarchyGroupNameInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateUserHierarchyGroupNameInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateUserHierarchyGroupNameInputBuilder
impl RefUnwindSafe for UpdateUserHierarchyGroupNameInputBuilder
impl Send for UpdateUserHierarchyGroupNameInputBuilder
impl Sync for UpdateUserHierarchyGroupNameInputBuilder
impl Unpin for UpdateUserHierarchyGroupNameInputBuilder
impl UnwindSafe for UpdateUserHierarchyGroupNameInputBuilder
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