pub struct Builder { /* private fields */ }Expand description
A builder for ResourceDataSyncAwsOrganizationsSource.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> ResourceDataSyncAwsOrganizationsSource
pub fn build(self) -> ResourceDataSyncAwsOrganizationsSource
Consumes the builder and constructs a ResourceDataSyncAwsOrganizationsSource.