Class CfnResourceDataSyncPropsMixin.SyncSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssm.CfnResourceDataSyncPropsMixin.SyncSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDataSyncPropsMixin.SyncSourceProperty>
- Enclosing interface:
CfnResourceDataSyncPropsMixin.SyncSourceProperty
@Stability(Stable)
public static final class CfnResourceDataSyncPropsMixin.SyncSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDataSyncPropsMixin.SyncSourceProperty>
A builder for
CfnResourceDataSyncPropsMixin.SyncSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsOrganizationsSource(CfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty awsOrganizationsSource) awsOrganizationsSource(IResolvable awsOrganizationsSource) build()Builds the configured instance.includeFutureRegions(Boolean includeFutureRegions) includeFutureRegions(IResolvable includeFutureRegions) sourceRegions(List<String> sourceRegions) Sets the value ofCfnResourceDataSyncPropsMixin.SyncSourceProperty.getSourceRegions()sourceType(String sourceType) Sets the value ofCfnResourceDataSyncPropsMixin.SyncSourceProperty.getSourceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsOrganizationsSource
@Stability(Stable) public CfnResourceDataSyncPropsMixin.SyncSourceProperty.Builder awsOrganizationsSource(IResolvable awsOrganizationsSource) - Parameters:
awsOrganizationsSource- Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations .- Returns:
this
-
awsOrganizationsSource
@Stability(Stable) public CfnResourceDataSyncPropsMixin.SyncSourceProperty.Builder awsOrganizationsSource(CfnResourceDataSyncPropsMixin.AwsOrganizationsSourceProperty awsOrganizationsSource) - Parameters:
awsOrganizationsSource- Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations .- Returns:
this
-
includeFutureRegions
@Stability(Stable) public CfnResourceDataSyncPropsMixin.SyncSourceProperty.Builder includeFutureRegions(Boolean includeFutureRegions) - Parameters:
includeFutureRegions- Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.- Returns:
this
-
includeFutureRegions
@Stability(Stable) public CfnResourceDataSyncPropsMixin.SyncSourceProperty.Builder includeFutureRegions(IResolvable includeFutureRegions) - Parameters:
includeFutureRegions- Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.- Returns:
this
-
sourceRegions
@Stability(Stable) public CfnResourceDataSyncPropsMixin.SyncSourceProperty.Builder sourceRegions(List<String> sourceRegions) Sets the value ofCfnResourceDataSyncPropsMixin.SyncSourceProperty.getSourceRegions()- Parameters:
sourceRegions- TheSyncSourceAWS Regions included in the resource data sync.- Returns:
this
-
sourceType
@Stability(Stable) public CfnResourceDataSyncPropsMixin.SyncSourceProperty.Builder sourceType(String sourceType) Sets the value ofCfnResourceDataSyncPropsMixin.SyncSourceProperty.getSourceType()- Parameters:
sourceType- The type of data source for the resource data sync.SourceTypeis eitherAwsOrganizations(if an organization is present in AWS Organizations ) orSingleAccountMultiRegions.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceDataSyncPropsMixin.SyncSourceProperty>- Returns:
- a new instance of
CfnResourceDataSyncPropsMixin.SyncSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-