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.
This field is required.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
This method 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> 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>
Creates a shared type from an unshared type.