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.
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.
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<CreateUserHierarchyGroupInputBuilder> for CreateUserHierarchyGroupInputBuilder
impl PartialEq<CreateUserHierarchyGroupInputBuilder> 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 ==
.