Struct aws_sdk_iam::operation::update_service_specific_credential::builders::UpdateServiceSpecificCredentialInputBuilder
source · #[non_exhaustive]pub struct UpdateServiceSpecificCredentialInputBuilder { /* private fields */ }
Expand description
A builder for UpdateServiceSpecificCredentialInput
.
Implementations§
source§impl UpdateServiceSpecificCredentialInputBuilder
impl UpdateServiceSpecificCredentialInputBuilder
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The name of the IAM user associated with the service-specific credential. If you do not specify this value, then the operation assumes the user whose credentials are used to call the operation.
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 IAM user associated with the service-specific credential. If you do not specify this value, then the operation assumes the user whose credentials are used to call the operation.
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 IAM user associated with the service-specific credential. If you do not specify this value, then the operation assumes the user whose credentials are used to call the operation.
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 service_specific_credential_id(self, input: impl Into<String>) -> Self
pub fn service_specific_credential_id(self, input: impl Into<String>) -> Self
The unique identifier of the service-specific credential.
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_service_specific_credential_id(self, input: Option<String>) -> Self
pub fn set_service_specific_credential_id(self, input: Option<String>) -> Self
The unique identifier of the service-specific credential.
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_service_specific_credential_id(&self) -> &Option<String>
pub fn get_service_specific_credential_id(&self) -> &Option<String>
The unique identifier of the service-specific credential.
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 to be assigned to the service-specific credential.
This field is required.sourcepub fn set_status(self, input: Option<StatusType>) -> Self
pub fn set_status(self, input: Option<StatusType>) -> Self
The status to be assigned to the service-specific credential.
sourcepub fn get_status(&self) -> &Option<StatusType>
pub fn get_status(&self) -> &Option<StatusType>
The status to be assigned to the service-specific credential.
sourcepub fn build(self) -> Result<UpdateServiceSpecificCredentialInput, BuildError>
pub fn build(self) -> Result<UpdateServiceSpecificCredentialInput, BuildError>
Consumes the builder and constructs a UpdateServiceSpecificCredentialInput
.
source§impl UpdateServiceSpecificCredentialInputBuilder
impl UpdateServiceSpecificCredentialInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateServiceSpecificCredentialOutput, SdkError<UpdateServiceSpecificCredentialError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateServiceSpecificCredentialOutput, SdkError<UpdateServiceSpecificCredentialError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateServiceSpecificCredentialInputBuilder
impl Clone for UpdateServiceSpecificCredentialInputBuilder
source§fn clone(&self) -> UpdateServiceSpecificCredentialInputBuilder
fn clone(&self) -> UpdateServiceSpecificCredentialInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateServiceSpecificCredentialInputBuilder
impl Default for UpdateServiceSpecificCredentialInputBuilder
source§fn default() -> UpdateServiceSpecificCredentialInputBuilder
fn default() -> UpdateServiceSpecificCredentialInputBuilder
source§impl PartialEq for UpdateServiceSpecificCredentialInputBuilder
impl PartialEq for UpdateServiceSpecificCredentialInputBuilder
source§fn eq(&self, other: &UpdateServiceSpecificCredentialInputBuilder) -> bool
fn eq(&self, other: &UpdateServiceSpecificCredentialInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.