public static final class CfnApp.DataSourceProperty.Builder
extends java.lang.Object
CfnApp.DataSourceProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnApp.DataSourceProperty.Builder |
arn(java.lang.String arn)
Sets the value of
CfnApp.DataSourceProperty.getArn() |
CfnApp.DataSourceProperty |
build()
Builds the configured instance.
|
CfnApp.DataSourceProperty.Builder |
databaseName(java.lang.String databaseName)
Sets the value of
CfnApp.DataSourceProperty.getDatabaseName() |
CfnApp.DataSourceProperty.Builder |
type(java.lang.String type)
Sets the value of
CfnApp.DataSourceProperty.getType() |
public CfnApp.DataSourceProperty.Builder arn(java.lang.String arn)
CfnApp.DataSourceProperty.getArn()
arn
- The data source's ARN.this
public CfnApp.DataSourceProperty.Builder databaseName(java.lang.String databaseName)
CfnApp.DataSourceProperty.getDatabaseName()
databaseName
- The database name.this
public CfnApp.DataSourceProperty.Builder type(java.lang.String type)
CfnApp.DataSourceProperty.getType()
type
- The data source's type, `AutoSelectOpsworksMysqlInstance` , `OpsworksMysqlInstance` , `RdsDbInstance` , or `None` .this
public CfnApp.DataSourceProperty build()
CfnApp.DataSourceProperty
java.lang.NullPointerException
- if any required attribute was not provided