Class CfnDataProviderProps.Builder
java.lang.Object
software.amazon.awscdk.services.dms.CfnDataProviderProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataProviderProps>
- Enclosing interface:
CfnDataProviderProps
@Stability(Stable)
public static final class CfnDataProviderProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataProviderProps>
A builder for
CfnDataProviderProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dataProviderIdentifier
(String dataProviderIdentifier) Sets the value ofCfnDataProviderProps.getDataProviderIdentifier()
dataProviderName
(String dataProviderName) Sets the value ofCfnDataProviderProps.getDataProviderName()
description
(String description) Sets the value ofCfnDataProviderProps.getDescription()
Sets the value ofCfnDataProviderProps.getEngine()
exactSettings
(Boolean exactSettings) Sets the value ofCfnDataProviderProps.getExactSettings()
exactSettings
(IResolvable exactSettings) Sets the value ofCfnDataProviderProps.getExactSettings()
settings
(IResolvable settings) Sets the value ofCfnDataProviderProps.getSettings()
settings
(CfnDataProvider.SettingsProperty settings) Sets the value ofCfnDataProviderProps.getSettings()
Sets the value ofCfnDataProviderProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
engine
Sets the value ofCfnDataProviderProps.getEngine()
- Parameters:
engine
- The type of database engine for the data provider. This parameter is required. Valid values include"aurora"
,"aurora-postgresql"
,"mysql"
,"oracle"
,"postgres"
,"sqlserver"
,redshift
,mariadb
,mongodb
, anddocdb
. A value of"aurora"
represents Amazon Aurora MySQL-Compatible Edition.- Returns:
this
-
dataProviderIdentifier
@Stability(Stable) public CfnDataProviderProps.Builder dataProviderIdentifier(String dataProviderIdentifier) Sets the value ofCfnDataProviderProps.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
Sets the value ofCfnDataProviderProps.getDataProviderName()
- Parameters:
dataProviderName
- The name of the data provider.- Returns:
this
-
description
Sets the value ofCfnDataProviderProps.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
-
exactSettings
Sets the value ofCfnDataProviderProps.getExactSettings()
- Parameters:
exactSettings
- The property describes the exact settings which can be modified.- Returns:
this
-
exactSettings
Sets the value ofCfnDataProviderProps.getExactSettings()
- Parameters:
exactSettings
- The property describes the exact settings which can be modified.- Returns:
this
-
settings
Sets the value ofCfnDataProviderProps.getSettings()
- Parameters:
settings
- The settings in JSON format for a data provider.- Returns:
this
-
settings
@Stability(Stable) public CfnDataProviderProps.Builder settings(CfnDataProvider.SettingsProperty settings) Sets the value ofCfnDataProviderProps.getSettings()
- Parameters:
settings
- The settings in JSON format for a data provider.- Returns:
this
-
tags
Sets the value ofCfnDataProviderProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataProviderProps>
- Returns:
- a new instance of
CfnDataProviderProps
- Throws:
NullPointerException
- if any required attribute was not provided
-