Class CfnDataProviderPropsMixin.OracleSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dms.CfnDataProviderPropsMixin.OracleSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataProviderPropsMixin.OracleSettingsProperty>
- Enclosing interface:
CfnDataProviderPropsMixin.OracleSettingsProperty
@Stability(Stable)
public static final class CfnDataProviderPropsMixin.OracleSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataProviderPropsMixin.OracleSettingsProperty>
A builder for
CfnDataProviderPropsMixin.OracleSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getAsmServer()build()Builds the configured instance.certificateArn(String certificateArn) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getCertificateArn()databaseName(String databaseName) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getDatabaseName()Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getPort()secretsManagerOracleAsmAccessRoleArn(String secretsManagerOracleAsmAccessRoleArn) secretsManagerOracleAsmSecretId(String secretsManagerOracleAsmSecretId) secretsManagerSecurityDbEncryptionAccessRoleArn(String secretsManagerSecurityDbEncryptionAccessRoleArn) secretsManagerSecurityDbEncryptionSecretId(String secretsManagerSecurityDbEncryptionSecretId) serverName(String serverName) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getServerName()Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getSslMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
asmServer
@Stability(Stable) public CfnDataProviderPropsMixin.OracleSettingsProperty.Builder asmServer(String asmServer) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getAsmServer()- Parameters:
asmServer- For an Oracle source endpoint, your ASM server address. You can set this value from theasm_servervalue. You setasm_serveras part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see Configuration for change data capture (CDC) on an Oracle source database .- Returns:
this
-
certificateArn
@Stability(Stable) public CfnDataProviderPropsMixin.OracleSettingsProperty.Builder certificateArn(String certificateArn) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getCertificateArn()- Parameters:
certificateArn- the value to be set.- Returns:
this
-
databaseName
@Stability(Stable) public CfnDataProviderPropsMixin.OracleSettingsProperty.Builder databaseName(String databaseName) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getDatabaseName()- Parameters:
databaseName- Database name for the endpoint.- Returns:
this
-
port
@Stability(Stable) public CfnDataProviderPropsMixin.OracleSettingsProperty.Builder port(Number port) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getPort()- Parameters:
port- Endpoint TCP port.- Returns:
this
-
secretsManagerOracleAsmAccessRoleArn
@Stability(Stable) public CfnDataProviderPropsMixin.OracleSettingsProperty.Builder secretsManagerOracleAsmAccessRoleArn(String secretsManagerOracleAsmAccessRoleArn) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getSecretsManagerOracleAsmAccessRoleArn()- Parameters:
secretsManagerOracleAsmAccessRoleArn- Required only if your Oracle endpoint uses Automatic Storage Management (ASM). The full ARN of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access theSecretsManagerOracleAsmSecret. ThisSecretsManagerOracleAsmSecrethas the secret value that allows access to the Oracle ASM of the endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerOracleAsmSecretId. Or you can specify clear-text values forAsmUser,AsmPassword, andAsmServerName. You can't specify both. For more information on creating thisSecretsManagerOracleAsmSecretand theSecretsManagerOracleAsmAccessRoleArnandSecretsManagerOracleAsmSecretIdrequired to access it, see Using secrets to access AWS Database Migration Service resources in the AWS Database Migration Service User Guide .- Returns:
this
-
secretsManagerOracleAsmSecretId
@Stability(Stable) public CfnDataProviderPropsMixin.OracleSettingsProperty.Builder secretsManagerOracleAsmSecretId(String secretsManagerOracleAsmSecretId) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getSecretsManagerOracleAsmSecretId()- Parameters:
secretsManagerOracleAsmSecretId- Required only if your Oracle endpoint uses Automatic Storage Management (ASM). The full ARN, partial ARN, or friendly name of theSecretsManagerOracleAsmSecretthat contains the Oracle ASM connection details for the Oracle endpoint.- Returns:
this
-
secretsManagerSecurityDbEncryptionAccessRoleArn
@Stability(Stable) public CfnDataProviderPropsMixin.OracleSettingsProperty.Builder secretsManagerSecurityDbEncryptionAccessRoleArn(String secretsManagerSecurityDbEncryptionAccessRoleArn) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getSecretsManagerSecurityDbEncryptionAccessRoleArn()- Parameters:
secretsManagerSecurityDbEncryptionAccessRoleArn- the value to be set.- Returns:
this
-
secretsManagerSecurityDbEncryptionSecretId
@Stability(Stable) public CfnDataProviderPropsMixin.OracleSettingsProperty.Builder secretsManagerSecurityDbEncryptionSecretId(String secretsManagerSecurityDbEncryptionSecretId) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getSecretsManagerSecurityDbEncryptionSecretId()- Parameters:
secretsManagerSecurityDbEncryptionSecretId- the value to be set.- Returns:
this
-
serverName
@Stability(Stable) public CfnDataProviderPropsMixin.OracleSettingsProperty.Builder serverName(String serverName) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getServerName()- Parameters:
serverName- Fully qualified domain name of the endpoint. For an Amazon RDS Oracle instance, this is the output of DescribeDBInstances , in the[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Addressfield.- Returns:
this
-
sslMode
@Stability(Stable) public CfnDataProviderPropsMixin.OracleSettingsProperty.Builder sslMode(String sslMode) Sets the value ofCfnDataProviderPropsMixin.OracleSettingsProperty.getSslMode()- Parameters:
sslMode- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataProviderPropsMixin.OracleSettingsProperty>- Returns:
- a new instance of
CfnDataProviderPropsMixin.OracleSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-