Struct aws_sdk_connect::operation::create_user_hierarchy_group::builders::CreateUserHierarchyGroupInputBuilder
source · #[non_exhaustive]pub struct CreateUserHierarchyGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateUserHierarchyGroupInput
.
Implementations§
source§impl CreateUserHierarchyGroupInputBuilder
impl CreateUserHierarchyGroupInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the user 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 user 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 user hierarchy group. Must not be more than 100 characters.
sourcepub fn parent_group_id(self, input: impl Into<String>) -> Self
pub fn parent_group_id(self, input: impl Into<String>) -> Self
The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
sourcepub fn set_parent_group_id(self, input: Option<String>) -> Self
pub fn set_parent_group_id(self, input: Option<String>) -> Self
The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
sourcepub fn get_parent_group_id(&self) -> &Option<String>
pub fn get_parent_group_id(&self) -> &Option<String>
The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn build(self) -> Result<CreateUserHierarchyGroupInput, BuildError>
pub fn build(self) -> Result<CreateUserHierarchyGroupInput, BuildError>
Consumes the builder and constructs a CreateUserHierarchyGroupInput
.
source§impl CreateUserHierarchyGroupInputBuilder
impl CreateUserHierarchyGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateUserHierarchyGroupOutput, SdkError<CreateUserHierarchyGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateUserHierarchyGroupOutput, SdkError<CreateUserHierarchyGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateUserHierarchyGroupInputBuilder
impl Clone for CreateUserHierarchyGroupInputBuilder
source§fn clone(&self) -> CreateUserHierarchyGroupInputBuilder
fn clone(&self) -> CreateUserHierarchyGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateUserHierarchyGroupInputBuilder
impl Default for CreateUserHierarchyGroupInputBuilder
source§fn default() -> CreateUserHierarchyGroupInputBuilder
fn default() -> CreateUserHierarchyGroupInputBuilder
source§impl PartialEq for CreateUserHierarchyGroupInputBuilder
impl PartialEq for CreateUserHierarchyGroupInputBuilder
source§fn eq(&self, other: &CreateUserHierarchyGroupInputBuilder) -> bool
fn eq(&self, other: &CreateUserHierarchyGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateUserHierarchyGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateUserHierarchyGroupInputBuilder
impl RefUnwindSafe for CreateUserHierarchyGroupInputBuilder
impl Send for CreateUserHierarchyGroupInputBuilder
impl Sync for CreateUserHierarchyGroupInputBuilder
impl Unpin for CreateUserHierarchyGroupInputBuilder
impl UnwindSafe for CreateUserHierarchyGroupInputBuilder
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