Interface ResourceDataSyncAwsOrganizationsSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceDataSyncAwsOrganizationsSource.Builder,
,ResourceDataSyncAwsOrganizationsSource> SdkBuilder<ResourceDataSyncAwsOrganizationsSource.Builder,
,ResourceDataSyncAwsOrganizationsSource> SdkPojo
- Enclosing class:
ResourceDataSyncAwsOrganizationsSource
public static interface ResourceDataSyncAwsOrganizationsSource.Builder
extends SdkPojo, CopyableBuilder<ResourceDataSyncAwsOrganizationsSource.Builder,ResourceDataSyncAwsOrganizationsSource>
-
Method Summary
Modifier and TypeMethodDescriptionorganizationalUnits
(Collection<ResourceDataSyncOrganizationalUnit> organizationalUnits) The Organizations organization units included in the sync.organizationalUnits
(Consumer<ResourceDataSyncOrganizationalUnit.Builder>... organizationalUnits) The Organizations organization units included in the sync.organizationalUnits
(ResourceDataSyncOrganizationalUnit... organizationalUnits) The Organizations organization units included in the sync.organizationSourceType
(String organizationSourceType) If an Amazon Web Services organization is present, this is eitherOrganizationalUnits
orEntireOrganization
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
organizationSourceType
ResourceDataSyncAwsOrganizationsSource.Builder organizationSourceType(String organizationSourceType) If an Amazon Web Services organization is present, this is either
OrganizationalUnits
orEntireOrganization
. ForOrganizationalUnits
, the data is aggregated from a set of organization units. ForEntireOrganization
, the data is aggregated from the entire Amazon Web Services organization.- Parameters:
organizationSourceType
- If an Amazon Web Services organization is present, this is eitherOrganizationalUnits
orEntireOrganization
. ForOrganizationalUnits
, the data is aggregated from a set of organization units. ForEntireOrganization
, the data is aggregated from the entire Amazon Web Services organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnits
ResourceDataSyncAwsOrganizationsSource.Builder organizationalUnits(Collection<ResourceDataSyncOrganizationalUnit> organizationalUnits) The Organizations organization units included in the sync.
- Parameters:
organizationalUnits
- The Organizations organization units included in the sync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnits
ResourceDataSyncAwsOrganizationsSource.Builder organizationalUnits(ResourceDataSyncOrganizationalUnit... organizationalUnits) The Organizations organization units included in the sync.
- Parameters:
organizationalUnits
- The Organizations organization units included in the sync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnits
ResourceDataSyncAwsOrganizationsSource.Builder organizationalUnits(Consumer<ResourceDataSyncOrganizationalUnit.Builder>... organizationalUnits) The Organizations organization units included in the sync.
This is a convenience method that creates an instance of theResourceDataSyncOrganizationalUnit.Builder
avoiding the need to create one manually viaResourceDataSyncOrganizationalUnit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorganizationalUnits(List<ResourceDataSyncOrganizationalUnit>)
.- Parameters:
organizationalUnits
- a consumer that will call methods onResourceDataSyncOrganizationalUnit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-