#[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 ==
.