Class CfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ssm.mixins.CfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty>
- Enclosing interface:
CfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty
@Stability(Stable)
public static final class CfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.organizationalUnits(List<String> organizationalUnits) organizationSourceType(String organizationSourceType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
organizationalUnits
@Stability(Stable) public CfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty.Builder organizationalUnits(List<String> organizationalUnits) Sets the value ofCfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty.getOrganizationalUnits()- Parameters:
organizationalUnits- The AWS Organizations organization units included in the sync.- Returns:
this
-
organizationSourceType
@Stability(Stable) public CfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty.Builder organizationSourceType(String organizationSourceType) Sets the value ofCfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty.getOrganizationSourceType()- Parameters:
organizationSourceType- If an AWS 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 AWS organization.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty>- Returns:
- a new instance of
CfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-