#[non_exhaustive]pub struct DataSourceCredentialsBuilder { /* private fields */ }Expand description
A builder for DataSourceCredentials.
Implementations§
source§impl DataSourceCredentialsBuilder
impl DataSourceCredentialsBuilder
sourcepub fn credential_pair(self, input: CredentialPair) -> Self
pub fn credential_pair(self, input: CredentialPair) -> Self
Credential pair. For more information, see CredentialPair .
sourcepub fn set_credential_pair(self, input: Option<CredentialPair>) -> Self
pub fn set_credential_pair(self, input: Option<CredentialPair>) -> Self
Credential pair. For more information, see CredentialPair .
sourcepub fn copy_source_arn(self, input: impl Into<String>) -> Self
pub fn copy_source_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.
sourcepub fn set_copy_source_arn(self, input: Option<String>) -> Self
pub fn set_copy_source_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.
sourcepub fn secret_arn(self, input: impl Into<String>) -> Self
pub fn secret_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
sourcepub fn set_secret_arn(self, input: Option<String>) -> Self
pub fn set_secret_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
sourcepub fn build(self) -> DataSourceCredentials
pub fn build(self) -> DataSourceCredentials
Consumes the builder and constructs a DataSourceCredentials.
Trait Implementations§
source§impl Clone for DataSourceCredentialsBuilder
impl Clone for DataSourceCredentialsBuilder
source§fn clone(&self) -> DataSourceCredentialsBuilder
fn clone(&self) -> DataSourceCredentialsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DataSourceCredentialsBuilder
impl Debug for DataSourceCredentialsBuilder
source§impl Default for DataSourceCredentialsBuilder
impl Default for DataSourceCredentialsBuilder
source§fn default() -> DataSourceCredentialsBuilder
fn default() -> DataSourceCredentialsBuilder
source§impl PartialEq<DataSourceCredentialsBuilder> for DataSourceCredentialsBuilder
impl PartialEq<DataSourceCredentialsBuilder> for DataSourceCredentialsBuilder
source§fn eq(&self, other: &DataSourceCredentialsBuilder) -> bool
fn eq(&self, other: &DataSourceCredentialsBuilder) -> bool
self and other values to be equal, and is used
by ==.