#[non_exhaustive]pub struct XksProxyAuthenticationCredentialTypeBuilder { /* private fields */ }
Expand description
A builder for XksProxyAuthenticationCredentialType
.
Implementations§
source§impl XksProxyAuthenticationCredentialTypeBuilder
impl XksProxyAuthenticationCredentialTypeBuilder
sourcepub fn access_key_id(self, input: impl Into<String>) -> Self
pub fn access_key_id(self, input: impl Into<String>) -> Self
A unique identifier for the raw secret access key.
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
A unique identifier for the raw secret access key.
sourcepub fn get_access_key_id(&self) -> &Option<String>
pub fn get_access_key_id(&self) -> &Option<String>
A unique identifier for the raw secret access key.
sourcepub fn raw_secret_access_key(self, input: impl Into<String>) -> Self
pub fn raw_secret_access_key(self, input: impl Into<String>) -> Self
A secret string of 43-64 characters. Valid characters are a-z, A-Z, 0-9, /, +, and =.
This field is required.sourcepub fn set_raw_secret_access_key(self, input: Option<String>) -> Self
pub fn set_raw_secret_access_key(self, input: Option<String>) -> Self
A secret string of 43-64 characters. Valid characters are a-z, A-Z, 0-9, /, +, and =.
sourcepub fn get_raw_secret_access_key(&self) -> &Option<String>
pub fn get_raw_secret_access_key(&self) -> &Option<String>
A secret string of 43-64 characters. Valid characters are a-z, A-Z, 0-9, /, +, and =.
sourcepub fn build(self) -> Result<XksProxyAuthenticationCredentialType, BuildError>
pub fn build(self) -> Result<XksProxyAuthenticationCredentialType, BuildError>
Consumes the builder and constructs a XksProxyAuthenticationCredentialType
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for XksProxyAuthenticationCredentialTypeBuilder
impl Clone for XksProxyAuthenticationCredentialTypeBuilder
source§fn clone(&self) -> XksProxyAuthenticationCredentialTypeBuilder
fn clone(&self) -> XksProxyAuthenticationCredentialTypeBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for XksProxyAuthenticationCredentialTypeBuilder
impl Default for XksProxyAuthenticationCredentialTypeBuilder
source§fn default() -> XksProxyAuthenticationCredentialTypeBuilder
fn default() -> XksProxyAuthenticationCredentialTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for XksProxyAuthenticationCredentialTypeBuilder
impl PartialEq for XksProxyAuthenticationCredentialTypeBuilder
source§fn eq(&self, other: &XksProxyAuthenticationCredentialTypeBuilder) -> bool
fn eq(&self, other: &XksProxyAuthenticationCredentialTypeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for XksProxyAuthenticationCredentialTypeBuilder
Auto Trait Implementations§
impl Freeze for XksProxyAuthenticationCredentialTypeBuilder
impl RefUnwindSafe for XksProxyAuthenticationCredentialTypeBuilder
impl Send for XksProxyAuthenticationCredentialTypeBuilder
impl Sync for XksProxyAuthenticationCredentialTypeBuilder
impl Unpin for XksProxyAuthenticationCredentialTypeBuilder
impl UnwindSafe for XksProxyAuthenticationCredentialTypeBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.