#[non_exhaustive]pub struct DataProviderDescriptorDefinition {
pub data_provider_identifier: String,
pub secrets_manager_secret_id: Option<String>,
pub secrets_manager_access_role_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.data_provider_identifier: String
The name or Amazon Resource Name (ARN) of the data provider.
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.
Implementations§
source§impl DataProviderDescriptorDefinition
impl DataProviderDescriptorDefinition
sourcepub fn data_provider_identifier(&self) -> &str
pub fn data_provider_identifier(&self) -> &str
The name or Amazon Resource Name (ARN) of the data provider.
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.
source§impl DataProviderDescriptorDefinition
impl DataProviderDescriptorDefinition
sourcepub fn builder() -> DataProviderDescriptorDefinitionBuilder
pub fn builder() -> DataProviderDescriptorDefinitionBuilder
Creates a new builder-style object to manufacture DataProviderDescriptorDefinition
.
Trait Implementations§
source§impl Clone for DataProviderDescriptorDefinition
impl Clone for DataProviderDescriptorDefinition
source§fn clone(&self) -> DataProviderDescriptorDefinition
fn clone(&self) -> DataProviderDescriptorDefinition
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 PartialEq for DataProviderDescriptorDefinition
impl PartialEq for DataProviderDescriptorDefinition
source§fn eq(&self, other: &DataProviderDescriptorDefinition) -> bool
fn eq(&self, other: &DataProviderDescriptorDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataProviderDescriptorDefinition
Auto Trait Implementations§
impl RefUnwindSafe for DataProviderDescriptorDefinition
impl Send for DataProviderDescriptorDefinition
impl Sync for DataProviderDescriptorDefinition
impl Unpin for DataProviderDescriptorDefinition
impl UnwindSafe for DataProviderDescriptorDefinition
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.