Struct aws_sdk_connect::operation::associate_security_key::builders::AssociateSecurityKeyInputBuilder
source · #[non_exhaustive]pub struct AssociateSecurityKeyInputBuilder { /* private fields */ }Expand description
A builder for AssociateSecurityKeyInput.
Implementations§
source§impl AssociateSecurityKeyInputBuilder
impl AssociateSecurityKeyInputBuilder
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 key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
A valid security key in PEM format as a String.
This field is required.sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
A valid security key in PEM format as a String.
sourcepub fn build(self) -> Result<AssociateSecurityKeyInput, BuildError>
pub fn build(self) -> Result<AssociateSecurityKeyInput, BuildError>
Consumes the builder and constructs a AssociateSecurityKeyInput.
source§impl AssociateSecurityKeyInputBuilder
impl AssociateSecurityKeyInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AssociateSecurityKeyOutput, SdkError<AssociateSecurityKeyError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AssociateSecurityKeyOutput, SdkError<AssociateSecurityKeyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateSecurityKeyInputBuilder
impl Clone for AssociateSecurityKeyInputBuilder
source§fn clone(&self) -> AssociateSecurityKeyInputBuilder
fn clone(&self) -> AssociateSecurityKeyInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for AssociateSecurityKeyInputBuilder
impl Default for AssociateSecurityKeyInputBuilder
source§fn default() -> AssociateSecurityKeyInputBuilder
fn default() -> AssociateSecurityKeyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateSecurityKeyInputBuilder
impl PartialEq for AssociateSecurityKeyInputBuilder
source§fn eq(&self, other: &AssociateSecurityKeyInputBuilder) -> bool
fn eq(&self, other: &AssociateSecurityKeyInputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AssociateSecurityKeyInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateSecurityKeyInputBuilder
impl RefUnwindSafe for AssociateSecurityKeyInputBuilder
impl Send for AssociateSecurityKeyInputBuilder
impl Sync for AssociateSecurityKeyInputBuilder
impl Unpin for AssociateSecurityKeyInputBuilder
impl UnwindSafe for AssociateSecurityKeyInputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.