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 eitherOrganizationalUnitsorEntireOrganization.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
OrganizationalUnitsorEntireOrganization. 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 eitherOrganizationalUnitsorEntireOrganization. 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.Builderavoiding the need to create one manually viaResourceDataSyncOrganizationalUnit.builder().When the
Consumercompletes,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:
-