#[non_exhaustive]pub struct ResourceDataSyncAwsOrganizationsSource {
pub organization_source_type: String,
pub organizational_units: Option<Vec<ResourceDataSyncOrganizationalUnit>>,
}
Expand description
Information about the AwsOrganizationsSource
resource data sync source. A sync source of this type can synchronize data from Organizations or, if an Amazon Web Services organization isn't present, from multiple Amazon Web Services Regions.
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.organization_source_type: String
If an Amazon Web Services organization is present, this is either OrganizationalUnits
or EntireOrganization
. For OrganizationalUnits
, the data is aggregated from a set of organization units. For EntireOrganization
, the data is aggregated from the entire Amazon Web Services organization.
organizational_units: Option<Vec<ResourceDataSyncOrganizationalUnit>>
The Organizations organization units included in the sync.
Implementations§
source§impl ResourceDataSyncAwsOrganizationsSource
impl ResourceDataSyncAwsOrganizationsSource
sourcepub fn organization_source_type(&self) -> &str
pub fn organization_source_type(&self) -> &str
If an Amazon Web Services organization is present, this is either OrganizationalUnits
or EntireOrganization
. For OrganizationalUnits
, the data is aggregated from a set of organization units. For EntireOrganization
, the data is aggregated from the entire Amazon Web Services organization.
sourcepub fn organizational_units(&self) -> &[ResourceDataSyncOrganizationalUnit]
pub fn organizational_units(&self) -> &[ResourceDataSyncOrganizationalUnit]
The Organizations organization units included in the sync.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .organizational_units.is_none()
.
source§impl ResourceDataSyncAwsOrganizationsSource
impl ResourceDataSyncAwsOrganizationsSource
sourcepub fn builder() -> ResourceDataSyncAwsOrganizationsSourceBuilder
pub fn builder() -> ResourceDataSyncAwsOrganizationsSourceBuilder
Creates a new builder-style object to manufacture ResourceDataSyncAwsOrganizationsSource
.
Trait Implementations§
source§impl Clone for ResourceDataSyncAwsOrganizationsSource
impl Clone for ResourceDataSyncAwsOrganizationsSource
source§fn clone(&self) -> ResourceDataSyncAwsOrganizationsSource
fn clone(&self) -> ResourceDataSyncAwsOrganizationsSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ResourceDataSyncAwsOrganizationsSource
impl PartialEq for ResourceDataSyncAwsOrganizationsSource
source§fn eq(&self, other: &ResourceDataSyncAwsOrganizationsSource) -> bool
fn eq(&self, other: &ResourceDataSyncAwsOrganizationsSource) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceDataSyncAwsOrganizationsSource
Auto Trait Implementations§
impl Freeze for ResourceDataSyncAwsOrganizationsSource
impl RefUnwindSafe for ResourceDataSyncAwsOrganizationsSource
impl Send for ResourceDataSyncAwsOrganizationsSource
impl Sync for ResourceDataSyncAwsOrganizationsSource
impl Unpin for ResourceDataSyncAwsOrganizationsSource
impl UnwindSafe for ResourceDataSyncAwsOrganizationsSource
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> 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