Class CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty>
- Enclosing interface:
CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty
@Stability(Stable)
public static final class CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clusterIdentifier(String clusterIdentifier) databaseHost(String databaseHost) databaseName(String databaseName) databasePort(Number databasePort) Sets the value ofCfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.getRoleArn()Sets the value ofCfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.getRoleArn()secretManagerArn(String secretManagerArn) Sets the value ofCfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.getTableName()vpcConfiguration(CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty vpcConfiguration) vpcConfiguration(IResolvable vpcConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterIdentifier
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder clusterIdentifier(String clusterIdentifier) - Parameters:
clusterIdentifier- A string identifying the Redshift cluster.- Returns:
this
-
databaseHost
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder databaseHost(String databaseHost) - Parameters:
databaseHost- The name of the database host.- Returns:
this
-
databaseName
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder databaseName(String databaseName) - Parameters:
databaseName- The Redshift database name.- Returns:
this
-
databasePort
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder databasePort(Number databasePort) - Parameters:
databasePort- The port number where the database can be accessed.- Returns:
this
-
roleArn
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder roleArn(String roleArn) Sets the value ofCfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the role providing access to the database.- Returns:
this
-
roleArn
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder roleArn(IRoleRef roleArn) Sets the value ofCfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the role providing access to the database.- Returns:
this
-
secretManagerArn
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder secretManagerArn(String secretManagerArn) - Parameters:
secretManagerArn- The Amazon Resource Name (ARN) of the AWS Secrets Manager role.- Returns:
this
-
tableName
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder tableName(String tableName) Sets the value ofCfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.getTableName()- Parameters:
tableName- The table name of the Redshift database.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder vpcConfiguration(IResolvable vpcConfiguration) - Parameters:
vpcConfiguration- Contains information about the Amazon Virtual Private Cloud (VPC) configuration.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty.Builder vpcConfiguration(CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty vpcConfiguration) - Parameters:
vpcConfiguration- Contains information about the Amazon Virtual Private Cloud (VPC) configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty>- Returns:
- a new instance of
CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-