#[non_exhaustive]pub struct DeleteAccessKeyInputBuilder { /* private fields */ }
Expand description
A builder for DeleteAccessKeyInput
.
Implementations§
source§impl DeleteAccessKeyInputBuilder
impl DeleteAccessKeyInputBuilder
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The name of the user whose access key pair you want to delete.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The name of the user whose access key pair you want to delete.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn get_user_name(&self) -> &Option<String>
pub fn get_user_name(&self) -> &Option<String>
The name of the user whose access key pair you want to delete.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn access_key_id(self, input: impl Into<String>) -> Self
pub fn access_key_id(self, input: impl Into<String>) -> Self
The access key ID for the access key ID and secret access key you want to delete.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
This field is required.sourcepub fn set_access_key_id(self, input: Option<String>) -> Self
pub fn set_access_key_id(self, input: Option<String>) -> Self
The access key ID for the access key ID and secret access key you want to delete.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
sourcepub fn get_access_key_id(&self) -> &Option<String>
pub fn get_access_key_id(&self) -> &Option<String>
The access key ID for the access key ID and secret access key you want to delete.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
sourcepub fn build(self) -> Result<DeleteAccessKeyInput, BuildError>
pub fn build(self) -> Result<DeleteAccessKeyInput, BuildError>
Consumes the builder and constructs a DeleteAccessKeyInput
.
source§impl DeleteAccessKeyInputBuilder
impl DeleteAccessKeyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteAccessKeyOutput, SdkError<DeleteAccessKeyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteAccessKeyOutput, SdkError<DeleteAccessKeyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteAccessKeyInputBuilder
impl Clone for DeleteAccessKeyInputBuilder
source§fn clone(&self) -> DeleteAccessKeyInputBuilder
fn clone(&self) -> DeleteAccessKeyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteAccessKeyInputBuilder
impl Debug for DeleteAccessKeyInputBuilder
source§impl Default for DeleteAccessKeyInputBuilder
impl Default for DeleteAccessKeyInputBuilder
source§fn default() -> DeleteAccessKeyInputBuilder
fn default() -> DeleteAccessKeyInputBuilder
source§impl PartialEq for DeleteAccessKeyInputBuilder
impl PartialEq for DeleteAccessKeyInputBuilder
source§fn eq(&self, other: &DeleteAccessKeyInputBuilder) -> bool
fn eq(&self, other: &DeleteAccessKeyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.