#[non_exhaustive]pub struct DataProviderDescriptor {
pub secrets_manager_secret_id: Option<String>,
pub secrets_manager_access_role_arn: Option<String>,
pub data_provider_name: Option<String>,
pub data_provider_arn: Option<String>,
}
Expand description
Information about a data provider.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.secrets_manager_secret_id: Option<String>
The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.
secrets_manager_access_role_arn: Option<String>
The ARN of the role used to access Amazon Web Services Secrets Manager.
data_provider_name: Option<String>
The user-friendly name of the data provider.
data_provider_arn: Option<String>
The Amazon Resource Name (ARN) of the data provider.
Implementations§
source§impl DataProviderDescriptor
impl DataProviderDescriptor
sourcepub fn secrets_manager_secret_id(&self) -> Option<&str>
pub fn secrets_manager_secret_id(&self) -> Option<&str>
The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.
sourcepub fn secrets_manager_access_role_arn(&self) -> Option<&str>
pub fn secrets_manager_access_role_arn(&self) -> Option<&str>
The ARN of the role used to access Amazon Web Services Secrets Manager.
sourcepub fn data_provider_name(&self) -> Option<&str>
pub fn data_provider_name(&self) -> Option<&str>
The user-friendly name of the data provider.
sourcepub fn data_provider_arn(&self) -> Option<&str>
pub fn data_provider_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the data provider.
source§impl DataProviderDescriptor
impl DataProviderDescriptor
sourcepub fn builder() -> DataProviderDescriptorBuilder
pub fn builder() -> DataProviderDescriptorBuilder
Creates a new builder-style object to manufacture DataProviderDescriptor
.
Trait Implementations§
source§impl Clone for DataProviderDescriptor
impl Clone for DataProviderDescriptor
source§fn clone(&self) -> DataProviderDescriptor
fn clone(&self) -> DataProviderDescriptor
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 DataProviderDescriptor
impl Debug for DataProviderDescriptor
source§impl PartialEq for DataProviderDescriptor
impl PartialEq for DataProviderDescriptor
source§fn eq(&self, other: &DataProviderDescriptor) -> bool
fn eq(&self, other: &DataProviderDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataProviderDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for DataProviderDescriptor
impl Send for DataProviderDescriptor
impl Sync for DataProviderDescriptor
impl Unpin for DataProviderDescriptor
impl UnwindSafe for DataProviderDescriptor
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>
Creates a shared type from an unshared type.