Class CfnDataSource.RecommendationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnDataSource.RecommendationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.RecommendationConfigurationProperty>
- Enclosing interface:
CfnDataSource.RecommendationConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.RecommendationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.RecommendationConfigurationProperty>
A builder for
CfnDataSource.RecommendationConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.enableBusinessNameGeneration
(Boolean enableBusinessNameGeneration) enableBusinessNameGeneration
(IResolvable enableBusinessNameGeneration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableBusinessNameGeneration
@Stability(Stable) public CfnDataSource.RecommendationConfigurationProperty.Builder enableBusinessNameGeneration(Boolean enableBusinessNameGeneration) Sets the value ofCfnDataSource.RecommendationConfigurationProperty.getEnableBusinessNameGeneration()
- Parameters:
enableBusinessNameGeneration
- Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.- Returns:
this
-
enableBusinessNameGeneration
@Stability(Stable) public CfnDataSource.RecommendationConfigurationProperty.Builder enableBusinessNameGeneration(IResolvable enableBusinessNameGeneration) Sets the value ofCfnDataSource.RecommendationConfigurationProperty.getEnableBusinessNameGeneration()
- Parameters:
enableBusinessNameGeneration
- Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.RecommendationConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.RecommendationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-