Struct aws_sdk_connect::operation::update_authentication_profile::builders::UpdateAuthenticationProfileInputBuilder
source · #[non_exhaustive]pub struct UpdateAuthenticationProfileInputBuilder { /* private fields */ }Expand description
A builder for UpdateAuthenticationProfileInput.
Implementations§
source§impl UpdateAuthenticationProfileInputBuilder
impl UpdateAuthenticationProfileInputBuilder
sourcepub fn authentication_profile_id(self, input: impl Into<String>) -> Self
pub fn authentication_profile_id(self, input: impl Into<String>) -> Self
A unique identifier for the authentication profile.
This field is required.sourcepub fn set_authentication_profile_id(self, input: Option<String>) -> Self
pub fn set_authentication_profile_id(self, input: Option<String>) -> Self
A unique identifier for the authentication profile.
sourcepub fn get_authentication_profile_id(&self) -> &Option<String>
pub fn get_authentication_profile_id(&self) -> &Option<String>
A unique identifier for the authentication profile.
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the authentication profile.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the authentication profile.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the authentication profile.
sourcepub fn allowed_ips(self, input: impl Into<String>) -> Self
pub fn allowed_ips(self, input: impl Into<String>) -> Self
Appends an item to allowed_ips.
To override the contents of this collection use set_allowed_ips.
A list of IP address range strings that are allowed to access the instance. For more information on how to configure IP addresses, seeConfigure session timeouts in the Amazon Connect Administrator Guide.
sourcepub fn set_allowed_ips(self, input: Option<Vec<String>>) -> Self
pub fn set_allowed_ips(self, input: Option<Vec<String>>) -> Self
A list of IP address range strings that are allowed to access the instance. For more information on how to configure IP addresses, seeConfigure session timeouts in the Amazon Connect Administrator Guide.
sourcepub fn get_allowed_ips(&self) -> &Option<Vec<String>>
pub fn get_allowed_ips(&self) -> &Option<Vec<String>>
A list of IP address range strings that are allowed to access the instance. For more information on how to configure IP addresses, seeConfigure session timeouts in the Amazon Connect Administrator Guide.
sourcepub fn blocked_ips(self, input: impl Into<String>) -> Self
pub fn blocked_ips(self, input: impl Into<String>) -> Self
Appends an item to blocked_ips.
To override the contents of this collection use set_blocked_ips.
A list of IP address range strings that are blocked from accessing the instance. For more information on how to configure IP addresses, For more information on how to configure IP addresses, see Configure IP-based access control in the Amazon Connect Administrator Guide.
sourcepub fn set_blocked_ips(self, input: Option<Vec<String>>) -> Self
pub fn set_blocked_ips(self, input: Option<Vec<String>>) -> Self
A list of IP address range strings that are blocked from accessing the instance. For more information on how to configure IP addresses, For more information on how to configure IP addresses, see Configure IP-based access control in the Amazon Connect Administrator Guide.
sourcepub fn get_blocked_ips(&self) -> &Option<Vec<String>>
pub fn get_blocked_ips(&self) -> &Option<Vec<String>>
A list of IP address range strings that are blocked from accessing the instance. For more information on how to configure IP addresses, For more information on how to configure IP addresses, see Configure IP-based access control in the Amazon Connect Administrator Guide.
sourcepub fn periodic_session_duration(self, input: i32) -> Self
pub fn periodic_session_duration(self, input: i32) -> Self
The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see Configure session timeouts in the Amazon Connect Administrator Guide.
sourcepub fn set_periodic_session_duration(self, input: Option<i32>) -> Self
pub fn set_periodic_session_duration(self, input: Option<i32>) -> Self
The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see Configure session timeouts in the Amazon Connect Administrator Guide.
sourcepub fn get_periodic_session_duration(&self) -> &Option<i32>
pub fn get_periodic_session_duration(&self) -> &Option<i32>
The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see Configure session timeouts in the Amazon Connect Administrator Guide.
sourcepub fn build(self) -> Result<UpdateAuthenticationProfileInput, BuildError>
pub fn build(self) -> Result<UpdateAuthenticationProfileInput, BuildError>
Consumes the builder and constructs a UpdateAuthenticationProfileInput.
source§impl UpdateAuthenticationProfileInputBuilder
impl UpdateAuthenticationProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateAuthenticationProfileOutput, SdkError<UpdateAuthenticationProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateAuthenticationProfileOutput, SdkError<UpdateAuthenticationProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAuthenticationProfileInputBuilder
impl Clone for UpdateAuthenticationProfileInputBuilder
source§fn clone(&self) -> UpdateAuthenticationProfileInputBuilder
fn clone(&self) -> UpdateAuthenticationProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateAuthenticationProfileInputBuilder
impl Default for UpdateAuthenticationProfileInputBuilder
source§fn default() -> UpdateAuthenticationProfileInputBuilder
fn default() -> UpdateAuthenticationProfileInputBuilder
source§impl PartialEq for UpdateAuthenticationProfileInputBuilder
impl PartialEq for UpdateAuthenticationProfileInputBuilder
source§fn eq(&self, other: &UpdateAuthenticationProfileInputBuilder) -> bool
fn eq(&self, other: &UpdateAuthenticationProfileInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateAuthenticationProfileInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAuthenticationProfileInputBuilder
impl RefUnwindSafe for UpdateAuthenticationProfileInputBuilder
impl Send for UpdateAuthenticationProfileInputBuilder
impl Sync for UpdateAuthenticationProfileInputBuilder
impl Unpin for UpdateAuthenticationProfileInputBuilder
impl UnwindSafe for UpdateAuthenticationProfileInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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