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