#[non_exhaustive]pub struct ApplicationCredentialBuilder { /* private fields */ }Expand description
A builder for ApplicationCredential.
Implementations§
source§impl ApplicationCredentialBuilder
impl ApplicationCredentialBuilder
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the SAP HANA database.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the SAP HANA database.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the SAP HANA database.
sourcepub fn credential_type(self, input: CredentialType) -> Self
pub fn credential_type(self, input: CredentialType) -> Self
The type of the application credentials.
sourcepub fn set_credential_type(self, input: Option<CredentialType>) -> Self
pub fn set_credential_type(self, input: Option<CredentialType>) -> Self
The type of the application credentials.
sourcepub fn get_credential_type(&self) -> &Option<CredentialType>
pub fn get_credential_type(&self) -> &Option<CredentialType>
The type of the application credentials.
sourcepub fn secret_id(self, input: impl Into<String>) -> Self
pub fn secret_id(self, input: impl Into<String>) -> Self
The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.
sourcepub fn set_secret_id(self, input: Option<String>) -> Self
pub fn set_secret_id(self, input: Option<String>) -> Self
The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.
sourcepub fn get_secret_id(&self) -> &Option<String>
pub fn get_secret_id(&self) -> &Option<String>
The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.
sourcepub fn build(self) -> ApplicationCredential
pub fn build(self) -> ApplicationCredential
Consumes the builder and constructs a ApplicationCredential.
Trait Implementations§
source§impl Clone for ApplicationCredentialBuilder
impl Clone for ApplicationCredentialBuilder
source§fn clone(&self) -> ApplicationCredentialBuilder
fn clone(&self) -> ApplicationCredentialBuilder
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 Debug for ApplicationCredentialBuilder
impl Debug for ApplicationCredentialBuilder
source§impl Default for ApplicationCredentialBuilder
impl Default for ApplicationCredentialBuilder
source§fn default() -> ApplicationCredentialBuilder
fn default() -> ApplicationCredentialBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ApplicationCredentialBuilder
impl PartialEq for ApplicationCredentialBuilder
source§fn eq(&self, other: &ApplicationCredentialBuilder) -> bool
fn eq(&self, other: &ApplicationCredentialBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ApplicationCredentialBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ApplicationCredentialBuilder
impl Send for ApplicationCredentialBuilder
impl Sync for ApplicationCredentialBuilder
impl Unpin for ApplicationCredentialBuilder
impl UnwindSafe for ApplicationCredentialBuilder
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