Class CfnIntegrationProps.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnIntegrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIntegrationProps>
- Enclosing interface:
CfnIntegrationProps
@Stability(Stable)
public static final class CfnIntegrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIntegrationProps>
A builder for
CfnIntegrationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext
(Map<String, String> additionalEncryptionContext) Sets the value ofCfnIntegrationProps.getAdditionalEncryptionContext()
additionalEncryptionContext
(IResolvable additionalEncryptionContext) Sets the value ofCfnIntegrationProps.getAdditionalEncryptionContext()
build()
Builds the configured instance.dataFilter
(String dataFilter) Sets the value ofCfnIntegrationProps.getDataFilter()
description
(String description) Sets the value ofCfnIntegrationProps.getDescription()
integrationName
(String integrationName) Sets the value ofCfnIntegrationProps.getIntegrationName()
Sets the value ofCfnIntegrationProps.getKmsKeyId()
Sets the value ofCfnIntegrationProps.getSourceArn()
Sets the value ofCfnIntegrationProps.getTags()
Sets the value ofCfnIntegrationProps.getTargetArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceArn
Sets the value ofCfnIntegrationProps.getSourceArn()
- Parameters:
sourceArn
- The Amazon Resource Name (ARN) of the database to use as the source for replication. This parameter is required.- Returns:
this
-
targetArn
Sets the value ofCfnIntegrationProps.getTargetArn()
- Parameters:
targetArn
- The ARN of the Redshift data warehouse to use as the target for replication. This parameter is required.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnIntegrationProps.Builder additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnIntegrationProps.getAdditionalEncryptionContext()
- Parameters:
additionalEncryptionContext
- An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the AWS Key Management Service Developer Guide .You can only include this parameter if you specify the
KMSKeyId
parameter.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnIntegrationProps.Builder additionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnIntegrationProps.getAdditionalEncryptionContext()
- Parameters:
additionalEncryptionContext
- An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the AWS Key Management Service Developer Guide .You can only include this parameter if you specify the
KMSKeyId
parameter.- Returns:
this
-
dataFilter
Sets the value ofCfnIntegrationProps.getDataFilter()
- Parameters:
dataFilter
- Data filters for the integration. These filters determine which tables from the source database are sent to the target Amazon Redshift data warehouse.- Returns:
this
-
description
Sets the value ofCfnIntegrationProps.getDescription()
- Parameters:
description
- A description of the integration.- Returns:
this
-
integrationName
Sets the value ofCfnIntegrationProps.getIntegrationName()
- Parameters:
integrationName
- The name of the integration.- Returns:
this
-
kmsKeyId
Sets the value ofCfnIntegrationProps.getKmsKeyId()
- Parameters:
kmsKeyId
- The AWS Key Management System ( AWS KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, RDS uses a default AWS owned key.- Returns:
this
-
tags
Sets the value ofCfnIntegrationProps.getTags()
- Parameters:
tags
- An optional array of key-value pairs to apply to this integration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIntegrationProps>
- Returns:
- a new instance of
CfnIntegrationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-