#[non_exhaustive]pub struct MembershipDatasourcesBuilder { /* private fields */ }Expand description
A builder for MembershipDatasources.
Implementations§
source§impl MembershipDatasourcesBuilder
impl MembershipDatasourcesBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The account identifier of the Amazon Web Services account.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The account identifier of the Amazon Web Services account.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The account identifier of the Amazon Web Services account.
sourcepub fn graph_arn(self, input: impl Into<String>) -> Self
pub fn graph_arn(self, input: impl Into<String>) -> Self
The ARN of the organization behavior graph.
sourcepub fn set_graph_arn(self, input: Option<String>) -> Self
pub fn set_graph_arn(self, input: Option<String>) -> Self
The ARN of the organization behavior graph.
sourcepub fn get_graph_arn(&self) -> &Option<String>
pub fn get_graph_arn(&self) -> &Option<String>
The ARN of the organization behavior graph.
sourcepub fn datasource_package_ingest_history(
self,
k: DatasourcePackage,
v: HashMap<DatasourcePackageIngestState, TimestampForCollection>
) -> Self
pub fn datasource_package_ingest_history( self, k: DatasourcePackage, v: HashMap<DatasourcePackageIngestState, TimestampForCollection> ) -> Self
Adds a key-value pair to datasource_package_ingest_history.
To override the contents of this collection use set_datasource_package_ingest_history.
Details on when a data source package was added to a behavior graph.
sourcepub fn set_datasource_package_ingest_history(
self,
input: Option<HashMap<DatasourcePackage, HashMap<DatasourcePackageIngestState, TimestampForCollection>>>
) -> Self
pub fn set_datasource_package_ingest_history( self, input: Option<HashMap<DatasourcePackage, HashMap<DatasourcePackageIngestState, TimestampForCollection>>> ) -> Self
Details on when a data source package was added to a behavior graph.
sourcepub fn get_datasource_package_ingest_history(
&self
) -> &Option<HashMap<DatasourcePackage, HashMap<DatasourcePackageIngestState, TimestampForCollection>>>
pub fn get_datasource_package_ingest_history( &self ) -> &Option<HashMap<DatasourcePackage, HashMap<DatasourcePackageIngestState, TimestampForCollection>>>
Details on when a data source package was added to a behavior graph.
sourcepub fn build(self) -> MembershipDatasources
pub fn build(self) -> MembershipDatasources
Consumes the builder and constructs a MembershipDatasources.
Trait Implementations§
source§impl Clone for MembershipDatasourcesBuilder
impl Clone for MembershipDatasourcesBuilder
source§fn clone(&self) -> MembershipDatasourcesBuilder
fn clone(&self) -> MembershipDatasourcesBuilder
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 MembershipDatasourcesBuilder
impl Debug for MembershipDatasourcesBuilder
source§impl Default for MembershipDatasourcesBuilder
impl Default for MembershipDatasourcesBuilder
source§fn default() -> MembershipDatasourcesBuilder
fn default() -> MembershipDatasourcesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MembershipDatasourcesBuilder
impl PartialEq for MembershipDatasourcesBuilder
source§fn eq(&self, other: &MembershipDatasourcesBuilder) -> bool
fn eq(&self, other: &MembershipDatasourcesBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MembershipDatasourcesBuilder
Auto Trait Implementations§
impl Freeze for MembershipDatasourcesBuilder
impl RefUnwindSafe for MembershipDatasourcesBuilder
impl Send for MembershipDatasourcesBuilder
impl Sync for MembershipDatasourcesBuilder
impl Unpin for MembershipDatasourcesBuilder
impl UnwindSafe for MembershipDatasourcesBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.