#[non_exhaustive]pub struct ResourceDataSyncAwsOrganizationsSourceBuilder { /* private fields */ }Expand description
A builder for ResourceDataSyncAwsOrganizationsSource.
Implementations§
source§impl ResourceDataSyncAwsOrganizationsSourceBuilder
impl ResourceDataSyncAwsOrganizationsSourceBuilder
sourcepub fn organization_source_type(self, input: impl Into<String>) -> Self
pub fn organization_source_type(self, input: impl Into<String>) -> Self
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 set_organization_source_type(self, input: Option<String>) -> Self
pub fn set_organization_source_type(self, input: Option<String>) -> Self
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 get_organization_source_type(&self) -> &Option<String>
pub fn get_organization_source_type(&self) -> &Option<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.
sourcepub fn organizational_units(
self,
input: ResourceDataSyncOrganizationalUnit
) -> Self
pub fn organizational_units( self, input: ResourceDataSyncOrganizationalUnit ) -> Self
Appends an item to organizational_units.
To override the contents of this collection use set_organizational_units.
The Organizations organization units included in the sync.
sourcepub fn set_organizational_units(
self,
input: Option<Vec<ResourceDataSyncOrganizationalUnit>>
) -> Self
pub fn set_organizational_units( self, input: Option<Vec<ResourceDataSyncOrganizationalUnit>> ) -> Self
The Organizations organization units included in the sync.
sourcepub fn get_organizational_units(
&self
) -> &Option<Vec<ResourceDataSyncOrganizationalUnit>>
pub fn get_organizational_units( &self ) -> &Option<Vec<ResourceDataSyncOrganizationalUnit>>
The Organizations organization units included in the sync.
sourcepub fn build(self) -> Result<ResourceDataSyncAwsOrganizationsSource, BuildError>
pub fn build(self) -> Result<ResourceDataSyncAwsOrganizationsSource, BuildError>
Consumes the builder and constructs a ResourceDataSyncAwsOrganizationsSource.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ResourceDataSyncAwsOrganizationsSourceBuilder
impl Clone for ResourceDataSyncAwsOrganizationsSourceBuilder
source§fn clone(&self) -> ResourceDataSyncAwsOrganizationsSourceBuilder
fn clone(&self) -> ResourceDataSyncAwsOrganizationsSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ResourceDataSyncAwsOrganizationsSourceBuilder
impl Default for ResourceDataSyncAwsOrganizationsSourceBuilder
source§fn default() -> ResourceDataSyncAwsOrganizationsSourceBuilder
fn default() -> ResourceDataSyncAwsOrganizationsSourceBuilder
source§impl PartialEq for ResourceDataSyncAwsOrganizationsSourceBuilder
impl PartialEq for ResourceDataSyncAwsOrganizationsSourceBuilder
source§fn eq(&self, other: &ResourceDataSyncAwsOrganizationsSourceBuilder) -> bool
fn eq(&self, other: &ResourceDataSyncAwsOrganizationsSourceBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResourceDataSyncAwsOrganizationsSourceBuilder
Auto Trait Implementations§
impl Freeze for ResourceDataSyncAwsOrganizationsSourceBuilder
impl RefUnwindSafe for ResourceDataSyncAwsOrganizationsSourceBuilder
impl Send for ResourceDataSyncAwsOrganizationsSourceBuilder
impl Sync for ResourceDataSyncAwsOrganizationsSourceBuilder
impl Unpin for ResourceDataSyncAwsOrganizationsSourceBuilder
impl UnwindSafe for ResourceDataSyncAwsOrganizationsSourceBuilder
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