public static final class CfnAnomalyDetector.RDSSourceConfigProperty.Builder
extends java.lang.Object
CfnAnomalyDetector.RDSSourceConfigProperty
Constructor and Description |
---|
Builder() |
public CfnAnomalyDetector.RDSSourceConfigProperty.Builder databaseHost(java.lang.String databaseHost)
CfnAnomalyDetector.RDSSourceConfigProperty.getDatabaseHost()
databaseHost
- The host name of the database. This parameter is required.this
public CfnAnomalyDetector.RDSSourceConfigProperty.Builder databaseName(java.lang.String databaseName)
CfnAnomalyDetector.RDSSourceConfigProperty.getDatabaseName()
databaseName
- The name of the RDS database. This parameter is required.this
public CfnAnomalyDetector.RDSSourceConfigProperty.Builder databasePort(java.lang.Number databasePort)
CfnAnomalyDetector.RDSSourceConfigProperty.getDatabasePort()
databasePort
- The port number where the database can be accessed. This parameter is required.this
public CfnAnomalyDetector.RDSSourceConfigProperty.Builder dbInstanceIdentifier(java.lang.String dbInstanceIdentifier)
CfnAnomalyDetector.RDSSourceConfigProperty.getDbInstanceIdentifier()
dbInstanceIdentifier
- A string identifying the database instance. This parameter is required.this
public CfnAnomalyDetector.RDSSourceConfigProperty.Builder roleArn(java.lang.String roleArn)
CfnAnomalyDetector.RDSSourceConfigProperty.getRoleArn()
roleArn
- The Amazon Resource Name (ARN) of the role. This parameter is required.this
public CfnAnomalyDetector.RDSSourceConfigProperty.Builder secretManagerArn(java.lang.String secretManagerArn)
CfnAnomalyDetector.RDSSourceConfigProperty.getSecretManagerArn()
secretManagerArn
- The Amazon Resource Name (ARN) of the AWS Secrets Manager role. This parameter is required.this
public CfnAnomalyDetector.RDSSourceConfigProperty.Builder tableName(java.lang.String tableName)
CfnAnomalyDetector.RDSSourceConfigProperty.getTableName()
tableName
- The name of the table in the database. This parameter is required.this
public CfnAnomalyDetector.RDSSourceConfigProperty.Builder vpcConfiguration(IResolvable vpcConfiguration)
CfnAnomalyDetector.RDSSourceConfigProperty.getVpcConfiguration()
vpcConfiguration
- An object containing information about the Amazon Virtual Private Cloud (VPC) configuration. This parameter is required.this
public CfnAnomalyDetector.RDSSourceConfigProperty.Builder vpcConfiguration(CfnAnomalyDetector.VpcConfigurationProperty vpcConfiguration)
CfnAnomalyDetector.RDSSourceConfigProperty.getVpcConfiguration()
vpcConfiguration
- An object containing information about the Amazon Virtual Private Cloud (VPC) configuration. This parameter is required.this
public CfnAnomalyDetector.RDSSourceConfigProperty build()
CfnAnomalyDetector.RDSSourceConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided