Class CfnDataSourceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datazone.CfnDataSourceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourceMixinProps>
- Enclosing interface:
CfnDataSourceMixinProps
@Stability(Stable)
public static final class CfnDataSourceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourceMixinProps>
A builder for
CfnDataSourceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassetFormsInput(List<? extends Object> assetFormsInput) Sets the value ofCfnDataSourceMixinProps.getAssetFormsInput()assetFormsInput(IResolvable assetFormsInput) Sets the value ofCfnDataSourceMixinProps.getAssetFormsInput()build()Builds the configured instance.Sets the value ofCfnDataSourceMixinProps.getConfiguration()configuration(IResolvable configuration) Sets the value ofCfnDataSourceMixinProps.getConfiguration()connectionIdentifier(String connectionIdentifier) Sets the value ofCfnDataSourceMixinProps.getConnectionIdentifier()description(String description) Sets the value ofCfnDataSourceMixinProps.getDescription()domainIdentifier(String domainIdentifier) Sets the value ofCfnDataSourceMixinProps.getDomainIdentifier()enableSetting(String enableSetting) Sets the value ofCfnDataSourceMixinProps.getEnableSetting()environmentIdentifier(String environmentIdentifier) Sets the value ofCfnDataSourceMixinProps.getEnvironmentIdentifier()Sets the value ofCfnDataSourceMixinProps.getName()projectIdentifier(String projectIdentifier) Sets the value ofCfnDataSourceMixinProps.getProjectIdentifier()publishOnImport(Boolean publishOnImport) Sets the value ofCfnDataSourceMixinProps.getPublishOnImport()publishOnImport(IResolvable publishOnImport) Sets the value ofCfnDataSourceMixinProps.getPublishOnImport()Sets the value ofCfnDataSourceMixinProps.getRecommendation()recommendation(IResolvable recommendation) Sets the value ofCfnDataSourceMixinProps.getRecommendation()Sets the value ofCfnDataSourceMixinProps.getSchedule()schedule(IResolvable schedule) Sets the value ofCfnDataSourceMixinProps.getSchedule()Sets the value ofCfnDataSourceMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assetFormsInput
@Stability(Stable) public CfnDataSourceMixinProps.Builder assetFormsInput(IResolvable assetFormsInput) Sets the value ofCfnDataSourceMixinProps.getAssetFormsInput()- Parameters:
assetFormsInput- The metadata forms attached to the assets that the data source works with.- Returns:
this
-
assetFormsInput
@Stability(Stable) public CfnDataSourceMixinProps.Builder assetFormsInput(List<? extends Object> assetFormsInput) Sets the value ofCfnDataSourceMixinProps.getAssetFormsInput()- Parameters:
assetFormsInput- The metadata forms attached to the assets that the data source works with.- Returns:
this
-
configuration
Sets the value ofCfnDataSourceMixinProps.getConfiguration()- Parameters:
configuration- The configuration of the data source.- Returns:
this
-
configuration
@Stability(Stable) public CfnDataSourceMixinProps.Builder configuration(CfnDataSourcePropsMixin.DataSourceConfigurationInputProperty configuration) Sets the value ofCfnDataSourceMixinProps.getConfiguration()- Parameters:
configuration- The configuration of the data source.- Returns:
this
-
connectionIdentifier
@Stability(Stable) public CfnDataSourceMixinProps.Builder connectionIdentifier(String connectionIdentifier) Sets the value ofCfnDataSourceMixinProps.getConnectionIdentifier()- Parameters:
connectionIdentifier- The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run.- Returns:
this
-
description
Sets the value ofCfnDataSourceMixinProps.getDescription()- Parameters:
description- The description of the data source.- Returns:
this
-
domainIdentifier
Sets the value ofCfnDataSourceMixinProps.getDomainIdentifier()- Parameters:
domainIdentifier- The ID of the Amazon DataZone domain where the data source is created.- Returns:
this
-
enableSetting
Sets the value ofCfnDataSourceMixinProps.getEnableSetting()- Parameters:
enableSetting- Specifies whether the data source is enabled.- Returns:
this
-
environmentIdentifier
@Stability(Stable) public CfnDataSourceMixinProps.Builder environmentIdentifier(String environmentIdentifier) Sets the value ofCfnDataSourceMixinProps.getEnvironmentIdentifier()- Parameters:
environmentIdentifier- The unique identifier of the Amazon DataZone environment to which the data source publishes assets.- Returns:
this
-
name
Sets the value ofCfnDataSourceMixinProps.getName()- Parameters:
name- The name of the data source.- Returns:
this
-
projectIdentifier
@Stability(Stable) public CfnDataSourceMixinProps.Builder projectIdentifier(String projectIdentifier) Sets the value ofCfnDataSourceMixinProps.getProjectIdentifier()- Parameters:
projectIdentifier- The identifier of the Amazon DataZone project in which you want to add this data source.- Returns:
this
-
publishOnImport
Sets the value ofCfnDataSourceMixinProps.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
@Stability(Stable) public CfnDataSourceMixinProps.Builder publishOnImport(IResolvable publishOnImport) Sets the value ofCfnDataSourceMixinProps.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
@Stability(Stable) public CfnDataSourceMixinProps.Builder recommendation(IResolvable recommendation) Sets the value ofCfnDataSourceMixinProps.getRecommendation()- Parameters:
recommendation- Specifies whether the business name generation is to be enabled for this data source.- Returns:
this
-
recommendation
@Stability(Stable) public CfnDataSourceMixinProps.Builder recommendation(CfnDataSourcePropsMixin.RecommendationConfigurationProperty recommendation) Sets the value ofCfnDataSourceMixinProps.getRecommendation()- Parameters:
recommendation- Specifies whether the business name generation is to be enabled for this data source.- Returns:
this
-
schedule
Sets the value ofCfnDataSourceMixinProps.getSchedule()- Parameters:
schedule- The schedule of the data source runs.- Returns:
this
-
schedule
@Stability(Stable) public CfnDataSourceMixinProps.Builder schedule(CfnDataSourcePropsMixin.ScheduleConfigurationProperty schedule) Sets the value ofCfnDataSourceMixinProps.getSchedule()- Parameters:
schedule- The schedule of the data source runs.- Returns:
this
-
type
Sets the value ofCfnDataSourceMixinProps.getType()- Parameters:
type- The type of the data source. In Amazon DataZone, you can use data sources to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. In the current release of Amazon DataZone, you can create and run data sources for AWS Glue and Amazon Redshift.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourceMixinProps>- Returns:
- a new instance of
CfnDataSourceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-