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 ==.impl StructuralPartialEq for UpdateServiceSpecificCredentialInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateServiceSpecificCredentialInputBuilder
impl RefUnwindSafe for UpdateServiceSpecificCredentialInputBuilder
impl Send for UpdateServiceSpecificCredentialInputBuilder
impl Sync for UpdateServiceSpecificCredentialInputBuilder
impl Unpin for UpdateServiceSpecificCredentialInputBuilder
impl UnwindSafe for UpdateServiceSpecificCredentialInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more