#[non_exhaustive]pub struct UpdateAccessKeyInputBuilder { /* private fields */ }Expand description
A builder for UpdateAccessKeyInput.
Implementations§
source§impl UpdateAccessKeyInputBuilder
impl UpdateAccessKeyInputBuilder
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 key you want to update.
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 key you want to update.
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 key you want to update.
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 of the secret access key you want to update.
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 of the secret access key you want to update.
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 of the secret access key you want to update.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
sourcepub fn status(self, input: StatusType) -> Self
pub fn status(self, input: StatusType) -> Self
The status you want to assign to the secret access key. Active means that the key can be used for programmatic calls to Amazon Web Services, while Inactive means that the key cannot be used.
sourcepub fn set_status(self, input: Option<StatusType>) -> Self
pub fn set_status(self, input: Option<StatusType>) -> Self
The status you want to assign to the secret access key. Active means that the key can be used for programmatic calls to Amazon Web Services, while Inactive means that the key cannot be used.
sourcepub fn get_status(&self) -> &Option<StatusType>
pub fn get_status(&self) -> &Option<StatusType>
The status you want to assign to the secret access key. Active means that the key can be used for programmatic calls to Amazon Web Services, while Inactive means that the key cannot be used.
sourcepub fn build(self) -> Result<UpdateAccessKeyInput, BuildError>
pub fn build(self) -> Result<UpdateAccessKeyInput, BuildError>
Consumes the builder and constructs a UpdateAccessKeyInput.
source§impl UpdateAccessKeyInputBuilder
impl UpdateAccessKeyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAccessKeyOutput, SdkError<UpdateAccessKeyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAccessKeyOutput, SdkError<UpdateAccessKeyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAccessKeyInputBuilder
impl Clone for UpdateAccessKeyInputBuilder
source§fn clone(&self) -> UpdateAccessKeyInputBuilder
fn clone(&self) -> UpdateAccessKeyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateAccessKeyInputBuilder
impl Debug for UpdateAccessKeyInputBuilder
source§impl Default for UpdateAccessKeyInputBuilder
impl Default for UpdateAccessKeyInputBuilder
source§fn default() -> UpdateAccessKeyInputBuilder
fn default() -> UpdateAccessKeyInputBuilder
source§impl PartialEq for UpdateAccessKeyInputBuilder
impl PartialEq for UpdateAccessKeyInputBuilder
source§fn eq(&self, other: &UpdateAccessKeyInputBuilder) -> bool
fn eq(&self, other: &UpdateAccessKeyInputBuilder) -> bool
self and other values to be equal, and is used
by ==.