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