Struct aws_sdk_connect::operation::disassociate_security_key::builders::DisassociateSecurityKeyInputBuilder
source · #[non_exhaustive]pub struct DisassociateSecurityKeyInputBuilder { /* private fields */ }
Expand description
A builder for DisassociateSecurityKeyInput
.
Implementations§
source§impl DisassociateSecurityKeyInputBuilder
impl DisassociateSecurityKeyInputBuilder
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 association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
This field is required.sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
sourcepub fn build(self) -> Result<DisassociateSecurityKeyInput, BuildError>
pub fn build(self) -> Result<DisassociateSecurityKeyInput, BuildError>
Consumes the builder and constructs a DisassociateSecurityKeyInput
.
source§impl DisassociateSecurityKeyInputBuilder
impl DisassociateSecurityKeyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DisassociateSecurityKeyOutput, SdkError<DisassociateSecurityKeyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DisassociateSecurityKeyOutput, SdkError<DisassociateSecurityKeyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DisassociateSecurityKeyInputBuilder
impl Clone for DisassociateSecurityKeyInputBuilder
source§fn clone(&self) -> DisassociateSecurityKeyInputBuilder
fn clone(&self) -> DisassociateSecurityKeyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DisassociateSecurityKeyInputBuilder
impl Default for DisassociateSecurityKeyInputBuilder
source§fn default() -> DisassociateSecurityKeyInputBuilder
fn default() -> DisassociateSecurityKeyInputBuilder
source§impl PartialEq for DisassociateSecurityKeyInputBuilder
impl PartialEq for DisassociateSecurityKeyInputBuilder
source§fn eq(&self, other: &DisassociateSecurityKeyInputBuilder) -> bool
fn eq(&self, other: &DisassociateSecurityKeyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.