Class CfnDataProviderPropsMixin.MySqlSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dms.CfnDataProviderPropsMixin.MySqlSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataProviderPropsMixin.MySqlSettingsProperty>
- Enclosing interface:
CfnDataProviderPropsMixin.MySqlSettingsProperty
@Stability(Stable)
public static final class CfnDataProviderPropsMixin.MySqlSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataProviderPropsMixin.MySqlSettingsProperty>
A builder for
CfnDataProviderPropsMixin.MySqlSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificateArn(String certificateArn) Sets the value ofCfnDataProviderPropsMixin.MySqlSettingsProperty.getCertificateArn()Sets the value ofCfnDataProviderPropsMixin.MySqlSettingsProperty.getPort()serverName(String serverName) Sets the value ofCfnDataProviderPropsMixin.MySqlSettingsProperty.getServerName()Sets the value ofCfnDataProviderPropsMixin.MySqlSettingsProperty.getSslMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateArn
@Stability(Stable) public CfnDataProviderPropsMixin.MySqlSettingsProperty.Builder certificateArn(String certificateArn) Sets the value ofCfnDataProviderPropsMixin.MySqlSettingsProperty.getCertificateArn()- Parameters:
certificateArn- the value to be set.- Returns:
this
-
port
Sets the value ofCfnDataProviderPropsMixin.MySqlSettingsProperty.getPort()- Parameters:
port- Endpoint TCP port.- Returns:
this
-
serverName
@Stability(Stable) public CfnDataProviderPropsMixin.MySqlSettingsProperty.Builder serverName(String serverName) Sets the value ofCfnDataProviderPropsMixin.MySqlSettingsProperty.getServerName()- Parameters:
serverName- The host name of the endpoint database. For an Amazon RDS MySQL instance, this is the output of DescribeDBInstances , in the[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Addressfield.For an Aurora MySQL instance, this is the output of DescribeDBClusters , in the
Endpointfield.- Returns:
this
-
sslMode
@Stability(Stable) public CfnDataProviderPropsMixin.MySqlSettingsProperty.Builder sslMode(String sslMode) Sets the value ofCfnDataProviderPropsMixin.MySqlSettingsProperty.getSslMode()- Parameters:
sslMode- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataProviderPropsMixin.MySqlSettingsProperty>- Returns:
- a new instance of
CfnDataProviderPropsMixin.MySqlSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-