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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceDataSyncAwsOrganizationsSource.BuilderorganizationalUnits(Collection<ResourceDataSyncOrganizationalUnit> organizationalUnits)The Organizations organization units included in the sync.ResourceDataSyncAwsOrganizationsSource.BuilderorganizationalUnits(Consumer<ResourceDataSyncOrganizationalUnit.Builder>... organizationalUnits)The Organizations organization units included in the sync.ResourceDataSyncAwsOrganizationsSource.BuilderorganizationalUnits(ResourceDataSyncOrganizationalUnit... organizationalUnits)The Organizations organization units included in the sync.ResourceDataSyncAwsOrganizationsSource.BuilderorganizationSourceType(String organizationSourceType)If an Amazon Web Services organization is present, this is eitherOrganizationalUnitsorEntireOrganization.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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 to#organizationalUnits(List.) - 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:
#organizationalUnits(java.util.Collection)
-
-