Struct aws_sdk_connect::operation::create_security_profile::builders::CreateSecurityProfileInputBuilder
source · #[non_exhaustive]pub struct CreateSecurityProfileInputBuilder { /* private fields */ }
Expand description
A builder for CreateSecurityProfileInput
.
Implementations§
source§impl CreateSecurityProfileInputBuilder
impl CreateSecurityProfileInputBuilder
sourcepub fn security_profile_name(self, input: impl Into<String>) -> Self
pub fn security_profile_name(self, input: impl Into<String>) -> Self
The name of the security profile.
This field is required.sourcepub fn set_security_profile_name(self, input: Option<String>) -> Self
pub fn set_security_profile_name(self, input: Option<String>) -> Self
The name of the security profile.
sourcepub fn get_security_profile_name(&self) -> &Option<String>
pub fn get_security_profile_name(&self) -> &Option<String>
The name of the security profile.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the security profile.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the security profile.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the security profile.
sourcepub fn permissions(self, input: impl Into<String>) -> Self
pub fn permissions(self, input: impl Into<String>) -> Self
Appends an item to permissions
.
To override the contents of this collection use set_permissions
.
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
sourcepub fn set_permissions(self, input: Option<Vec<String>>) -> Self
pub fn set_permissions(self, input: Option<Vec<String>>) -> Self
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
sourcepub fn get_permissions(&self) -> &Option<Vec<String>>
pub fn get_permissions(&self) -> &Option<Vec<String>>
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
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"} }.
Adds a key-value pair to allowed_access_control_tags
.
To override the contents of this collection use set_allowed_access_control_tags
.
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
sourcepub fn tag_restricted_resources(self, input: impl Into<String>) -> Self
pub fn tag_restricted_resources(self, input: impl Into<String>) -> Self
Appends an item to tag_restricted_resources
.
To override the contents of this collection use set_tag_restricted_resources
.
The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
| SecurityProfile
| Queue
| RoutingProfile
sourcepub fn set_tag_restricted_resources(self, input: Option<Vec<String>>) -> Self
pub fn set_tag_restricted_resources(self, input: Option<Vec<String>>) -> Self
The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
| SecurityProfile
| Queue
| RoutingProfile
sourcepub fn get_tag_restricted_resources(&self) -> &Option<Vec<String>>
pub fn get_tag_restricted_resources(&self) -> &Option<Vec<String>>
The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
| SecurityProfile
| Queue
| RoutingProfile
sourcepub fn applications(self, input: Application) -> Self
pub fn applications(self, input: Application) -> Self
Appends an item to applications
.
To override the contents of this collection use set_applications
.
A list of third-party applications that the security profile will give access to.
sourcepub fn set_applications(self, input: Option<Vec<Application>>) -> Self
pub fn set_applications(self, input: Option<Vec<Application>>) -> Self
A list of third-party applications that the security profile will give access to.
sourcepub fn get_applications(&self) -> &Option<Vec<Application>>
pub fn get_applications(&self) -> &Option<Vec<Application>>
A list of third-party applications that the security profile will give access to.
sourcepub fn hierarchy_restricted_resources(self, input: impl Into<String>) -> Self
pub fn hierarchy_restricted_resources(self, input: impl Into<String>) -> Self
Appends an item to hierarchy_restricted_resources
.
To override the contents of this collection use set_hierarchy_restricted_resources
.
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
.
sourcepub fn set_hierarchy_restricted_resources(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_hierarchy_restricted_resources( self, input: Option<Vec<String>> ) -> Self
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
.
sourcepub fn get_hierarchy_restricted_resources(&self) -> &Option<Vec<String>>
pub fn get_hierarchy_restricted_resources(&self) -> &Option<Vec<String>>
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
.
sourcepub fn allowed_access_control_hierarchy_group_id(
self,
input: impl Into<String>
) -> Self
pub fn allowed_access_control_hierarchy_group_id( self, input: impl Into<String> ) -> Self
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
sourcepub fn set_allowed_access_control_hierarchy_group_id(
self,
input: Option<String>
) -> Self
pub fn set_allowed_access_control_hierarchy_group_id( self, input: Option<String> ) -> Self
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
sourcepub fn get_allowed_access_control_hierarchy_group_id(&self) -> &Option<String>
pub fn get_allowed_access_control_hierarchy_group_id(&self) -> &Option<String>
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
sourcepub fn build(self) -> Result<CreateSecurityProfileInput, BuildError>
pub fn build(self) -> Result<CreateSecurityProfileInput, BuildError>
Consumes the builder and constructs a CreateSecurityProfileInput
.
source§impl CreateSecurityProfileInputBuilder
impl CreateSecurityProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSecurityProfileOutput, SdkError<CreateSecurityProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSecurityProfileOutput, SdkError<CreateSecurityProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSecurityProfileInputBuilder
impl Clone for CreateSecurityProfileInputBuilder
source§fn clone(&self) -> CreateSecurityProfileInputBuilder
fn clone(&self) -> CreateSecurityProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSecurityProfileInputBuilder
impl Default for CreateSecurityProfileInputBuilder
source§fn default() -> CreateSecurityProfileInputBuilder
fn default() -> CreateSecurityProfileInputBuilder
source§impl PartialEq for CreateSecurityProfileInputBuilder
impl PartialEq for CreateSecurityProfileInputBuilder
source§fn eq(&self, other: &CreateSecurityProfileInputBuilder) -> bool
fn eq(&self, other: &CreateSecurityProfileInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSecurityProfileInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSecurityProfileInputBuilder
impl RefUnwindSafe for CreateSecurityProfileInputBuilder
impl Send for CreateSecurityProfileInputBuilder
impl Sync for CreateSecurityProfileInputBuilder
impl Unpin for CreateSecurityProfileInputBuilder
impl UnwindSafe for CreateSecurityProfileInputBuilder
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