#[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.
This field is required.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.
This field is required.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.
This field is required.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) -> Result<ApplicationCredential, BuildError>
pub fn build(self) -> Result<ApplicationCredential, BuildError>
Consumes the builder and constructs a ApplicationCredential.
This method will fail if any of the following fields are not set:
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 Freeze for ApplicationCredentialBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.