public static final class CfnDataSource.ConnectionConfigurationProperty.Builder
extends java.lang.Object
CfnDataSource.ConnectionConfigurationProperty
Constructor and Description |
---|
Builder() |
public CfnDataSource.ConnectionConfigurationProperty.Builder databaseHost(java.lang.String databaseHost)
CfnDataSource.ConnectionConfigurationProperty.getDatabaseHost()
databaseHost
- The name of the host for the database. This parameter is required.
Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.this
public CfnDataSource.ConnectionConfigurationProperty.Builder databaseName(java.lang.String databaseName)
CfnDataSource.ConnectionConfigurationProperty.getDatabaseName()
databaseName
- The name of the database containing the document data. This parameter is required.this
public CfnDataSource.ConnectionConfigurationProperty.Builder databasePort(java.lang.Number databasePort)
CfnDataSource.ConnectionConfigurationProperty.getDatabasePort()
databasePort
- The port that the database uses for connections. This parameter is required.this
public CfnDataSource.ConnectionConfigurationProperty.Builder secretArn(java.lang.String secretArn)
CfnDataSource.ConnectionConfigurationProperty.getSecretArn()
secretArn
- The Amazon Resource Name (ARN) of credentials stored in AWS Secrets Manager . This parameter is required.
The credentials should be a user/password pair. For more information, see Using a Database Data Source . For more information about AWS Secrets Manager , see What Is AWS Secrets Manager in the AWS Secrets Manager user guide.this
public CfnDataSource.ConnectionConfigurationProperty.Builder tableName(java.lang.String tableName)
CfnDataSource.ConnectionConfigurationProperty.getTableName()
tableName
- The name of the table that contains the document data. This parameter is required.this
public CfnDataSource.ConnectionConfigurationProperty build()
CfnDataSource.ConnectionConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided