#[non_exhaustive]pub struct AssetBundleImportJobDataSourceCredentials {
pub credential_pair: Option<AssetBundleImportJobDataSourceCredentialPair>,
pub secret_arn: Option<String>,
}Expand description
The login credentials to use to import a data source resource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.credential_pair: Option<AssetBundleImportJobDataSourceCredentialPair>A username and password credential pair to be used to create the imported data source. Keep this field blank if you are using a Secrets Manager secret to provide credentials.
secret_arn: Option<String>The ARN of the Secrets Manager secret that's used to create the imported data source. Keep this field blank, unless you are using a secret in place of a credential pair.
Implementations§
source§impl AssetBundleImportJobDataSourceCredentials
impl AssetBundleImportJobDataSourceCredentials
sourcepub fn credential_pair(
&self
) -> Option<&AssetBundleImportJobDataSourceCredentialPair>
pub fn credential_pair( &self ) -> Option<&AssetBundleImportJobDataSourceCredentialPair>
A username and password credential pair to be used to create the imported data source. Keep this field blank if you are using a Secrets Manager secret to provide credentials.
sourcepub fn secret_arn(&self) -> Option<&str>
pub fn secret_arn(&self) -> Option<&str>
The ARN of the Secrets Manager secret that's used to create the imported data source. Keep this field blank, unless you are using a secret in place of a credential pair.
source§impl AssetBundleImportJobDataSourceCredentials
impl AssetBundleImportJobDataSourceCredentials
sourcepub fn builder() -> AssetBundleImportJobDataSourceCredentialsBuilder
pub fn builder() -> AssetBundleImportJobDataSourceCredentialsBuilder
Creates a new builder-style object to manufacture AssetBundleImportJobDataSourceCredentials.
Trait Implementations§
source§impl Clone for AssetBundleImportJobDataSourceCredentials
impl Clone for AssetBundleImportJobDataSourceCredentials
source§fn clone(&self) -> AssetBundleImportJobDataSourceCredentials
fn clone(&self) -> AssetBundleImportJobDataSourceCredentials
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for AssetBundleImportJobDataSourceCredentials
impl PartialEq for AssetBundleImportJobDataSourceCredentials
source§fn eq(&self, other: &AssetBundleImportJobDataSourceCredentials) -> bool
fn eq(&self, other: &AssetBundleImportJobDataSourceCredentials) -> bool
self and other values to be equal, and is used
by ==.