Class CfnDataProviderMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dms.CfnDataProviderMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataProviderMixinProps>
- Enclosing interface:
CfnDataProviderMixinProps
@Stability(Stable)
public static final class CfnDataProviderMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataProviderMixinProps>
A builder for
CfnDataProviderMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataProviderIdentifier(String dataProviderIdentifier) Sets the value ofCfnDataProviderMixinProps.getDataProviderIdentifier()dataProviderName(String dataProviderName) Sets the value ofCfnDataProviderMixinProps.getDataProviderName()description(String description) Sets the value ofCfnDataProviderMixinProps.getDescription()Sets the value ofCfnDataProviderMixinProps.getEngine()exactSettings(Boolean exactSettings) Sets the value ofCfnDataProviderMixinProps.getExactSettings()exactSettings(IResolvable exactSettings) Sets the value ofCfnDataProviderMixinProps.getExactSettings()Sets the value ofCfnDataProviderMixinProps.getSettings()settings(IResolvable settings) Sets the value ofCfnDataProviderMixinProps.getSettings()Sets the value ofCfnDataProviderMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataProviderIdentifier
@Stability(Stable) public CfnDataProviderMixinProps.Builder dataProviderIdentifier(String dataProviderIdentifier) Sets the value ofCfnDataProviderMixinProps.getDataProviderIdentifier()- Parameters:
dataProviderIdentifier- The identifier of the data provider. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.- Returns:
this
-
dataProviderName
@Stability(Stable) public CfnDataProviderMixinProps.Builder dataProviderName(String dataProviderName) Sets the value ofCfnDataProviderMixinProps.getDataProviderName()- Parameters:
dataProviderName- The name of the data provider.- Returns:
this
-
description
Sets the value ofCfnDataProviderMixinProps.getDescription()- Parameters:
description- A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.- Returns:
this
-
engine
Sets the value ofCfnDataProviderMixinProps.getEngine()- Parameters:
engine- The type of database engine for the data provider. Valid values include"aurora","aurora-postgresql","mysql","oracle","postgres","sqlserver",redshift,mariadb,mongodb,db2,db2-zos,docdb, andsybase. A value of"aurora"represents Amazon Aurora MySQL-Compatible Edition.- Returns:
this
-
exactSettings
Sets the value ofCfnDataProviderMixinProps.getExactSettings()- Parameters:
exactSettings- The property describes the exact settings which can be modified.- Returns:
this
-
exactSettings
@Stability(Stable) public CfnDataProviderMixinProps.Builder exactSettings(IResolvable exactSettings) Sets the value ofCfnDataProviderMixinProps.getExactSettings()- Parameters:
exactSettings- The property describes the exact settings which can be modified.- Returns:
this
-
settings
Sets the value ofCfnDataProviderMixinProps.getSettings()- Parameters:
settings- The settings in JSON format for a data provider.- Returns:
this
-
settings
@Stability(Stable) public CfnDataProviderMixinProps.Builder settings(CfnDataProviderPropsMixin.SettingsProperty settings) Sets the value ofCfnDataProviderMixinProps.getSettings()- Parameters:
settings- The settings in JSON format for a data provider.- Returns:
this
-
tags
Sets the value ofCfnDataProviderMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataProviderMixinProps>- Returns:
- a new instance of
CfnDataProviderMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-