#[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 ==
.impl StructuralPartialEq for AssetBundleImportJobDataSourceCredentials
Auto Trait Implementations§
impl Freeze for AssetBundleImportJobDataSourceCredentials
impl RefUnwindSafe for AssetBundleImportJobDataSourceCredentials
impl Send for AssetBundleImportJobDataSourceCredentials
impl Sync for AssetBundleImportJobDataSourceCredentials
impl Unpin for AssetBundleImportJobDataSourceCredentials
impl UnwindSafe for AssetBundleImportJobDataSourceCredentials
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more