Class CfnDataSourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnDataSourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourceProps>
- Enclosing interface:
CfnDataSourceProps
@Stability(Stable)
public static final class CfnDataSourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourceProps>
A builder for
CfnDataSourceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassetFormsInput(List<? extends Object> assetFormsInput) Sets the value ofCfnDataSourceProps.getAssetFormsInput()assetFormsInput(IResolvable assetFormsInput) Sets the value ofCfnDataSourceProps.getAssetFormsInput()build()Builds the configured instance.configuration(IResolvable configuration) Sets the value ofCfnDataSourceProps.getConfiguration()configuration(CfnDataSource.DataSourceConfigurationInputProperty configuration) Sets the value ofCfnDataSourceProps.getConfiguration()description(String description) Sets the value ofCfnDataSourceProps.getDescription()domainIdentifier(String domainIdentifier) Sets the value ofCfnDataSourceProps.getDomainIdentifier()enableSetting(String enableSetting) Sets the value ofCfnDataSourceProps.getEnableSetting()environmentIdentifier(String environmentIdentifier) Sets the value ofCfnDataSourceProps.getEnvironmentIdentifier()Sets the value ofCfnDataSourceProps.getName()projectIdentifier(String projectIdentifier) Sets the value ofCfnDataSourceProps.getProjectIdentifier()publishOnImport(Boolean publishOnImport) Sets the value ofCfnDataSourceProps.getPublishOnImport()publishOnImport(IResolvable publishOnImport) Sets the value ofCfnDataSourceProps.getPublishOnImport()recommendation(IResolvable recommendation) Sets the value ofCfnDataSourceProps.getRecommendation()recommendation(CfnDataSource.RecommendationConfigurationProperty recommendation) Sets the value ofCfnDataSourceProps.getRecommendation()schedule(IResolvable schedule) Sets the value ofCfnDataSourceProps.getSchedule()Sets the value ofCfnDataSourceProps.getSchedule()Sets the value ofCfnDataSourceProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainIdentifier
Sets the value ofCfnDataSourceProps.getDomainIdentifier()- Parameters:
domainIdentifier- The ID of the Amazon DataZone domain where the data source is created. This parameter is required.- Returns:
this
-
environmentIdentifier
@Stability(Stable) public CfnDataSourceProps.Builder environmentIdentifier(String environmentIdentifier) Sets the value ofCfnDataSourceProps.getEnvironmentIdentifier()- Parameters:
environmentIdentifier- The unique identifier of the Amazon DataZone environment to which the data source publishes assets. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnDataSourceProps.getName()- Parameters:
name- The name of the data source. This parameter is required.- Returns:
this
-
projectIdentifier
Sets the value ofCfnDataSourceProps.getProjectIdentifier()- Parameters:
projectIdentifier- The identifier of the Amazon DataZone project in which you want to add this data source. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnDataSourceProps.getType()- Parameters:
type- The type of the data source. This parameter is required.- Returns:
this
-
assetFormsInput
Sets the value ofCfnDataSourceProps.getAssetFormsInput()- Parameters:
assetFormsInput- The metadata forms attached to the assets that the data source works with.- Returns:
this
-
assetFormsInput
@Stability(Stable) public CfnDataSourceProps.Builder assetFormsInput(List<? extends Object> assetFormsInput) Sets the value ofCfnDataSourceProps.getAssetFormsInput()- Parameters:
assetFormsInput- The metadata forms attached to the assets that the data source works with.- Returns:
this
-
configuration
Sets the value ofCfnDataSourceProps.getConfiguration()- Parameters:
configuration- The configuration of the data source.- Returns:
this
-
configuration
@Stability(Stable) public CfnDataSourceProps.Builder configuration(CfnDataSource.DataSourceConfigurationInputProperty configuration) Sets the value ofCfnDataSourceProps.getConfiguration()- Parameters:
configuration- The configuration of the data source.- Returns:
this
-
description
Sets the value ofCfnDataSourceProps.getDescription()- Parameters:
description- The description of the data source.- Returns:
this
-
enableSetting
Sets the value ofCfnDataSourceProps.getEnableSetting()- Parameters:
enableSetting- Specifies whether the data source is enabled.- Returns:
this
-
publishOnImport
Sets the value ofCfnDataSourceProps.getPublishOnImport()- Parameters:
publishOnImport- Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.- Returns:
this
-
publishOnImport
Sets the value ofCfnDataSourceProps.getPublishOnImport()- Parameters:
publishOnImport- Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.- Returns:
this
-
recommendation
Sets the value ofCfnDataSourceProps.getRecommendation()- Parameters:
recommendation- Specifies whether the business name generation is to be enabled for this data source.- Returns:
this
-
recommendation
@Stability(Stable) public CfnDataSourceProps.Builder recommendation(CfnDataSource.RecommendationConfigurationProperty recommendation) Sets the value ofCfnDataSourceProps.getRecommendation()- Parameters:
recommendation- Specifies whether the business name generation is to be enabled for this data source.- Returns:
this
-
schedule
Sets the value ofCfnDataSourceProps.getSchedule()- Parameters:
schedule- The schedule of the data source runs.- Returns:
this
-
schedule
@Stability(Stable) public CfnDataSourceProps.Builder schedule(CfnDataSource.ScheduleConfigurationProperty schedule) Sets the value ofCfnDataSourceProps.getSchedule()- Parameters:
schedule- The schedule of the data source runs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourceProps>- Returns:
- a new instance of
CfnDataSourceProps - Throws:
NullPointerException- if any required attribute was not provided
-