Class CfnResourceDataSync.AwsOrganizationsSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssm.CfnResourceDataSync.AwsOrganizationsSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDataSync.AwsOrganizationsSourceProperty>
- Enclosing interface:
CfnResourceDataSync.AwsOrganizationsSourceProperty
@Stability(Stable)
public static final class CfnResourceDataSync.AwsOrganizationsSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDataSync.AwsOrganizationsSourceProperty>
A builder for
CfnResourceDataSync.AwsOrganizationsSourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.organizationalUnits
(List<String> organizationalUnits) organizationSourceType
(String organizationSourceType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
organizationSourceType
@Stability(Stable) public CfnResourceDataSync.AwsOrganizationsSourceProperty.Builder organizationSourceType(String organizationSourceType) - Parameters:
organizationSourceType
- If an AWS organization is present, this is eitherOrganizationalUnits
orEntireOrganization
. This parameter is required. ForOrganizationalUnits
, the data is aggregated from a set of organization units. ForEntireOrganization
, the data is aggregated from the entire AWS organization.- Returns:
this
-
organizationalUnits
@Stability(Stable) public CfnResourceDataSync.AwsOrganizationsSourceProperty.Builder organizationalUnits(List<String> organizationalUnits) - Parameters:
organizationalUnits
- The AWS Organizations organization units included in the sync.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceDataSync.AwsOrganizationsSourceProperty>
- Returns:
- a new instance of
CfnResourceDataSync.AwsOrganizationsSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-