Class CfnStackPropsMixin.RdsDbInstanceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opsworks.CfnStackPropsMixin.RdsDbInstanceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStackPropsMixin.RdsDbInstanceProperty>
- Enclosing interface:
CfnStackPropsMixin.RdsDbInstanceProperty
@Stability(Stable)
public static final class CfnStackPropsMixin.RdsDbInstanceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStackPropsMixin.RdsDbInstanceProperty>
A builder for
CfnStackPropsMixin.RdsDbInstanceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dbPassword(String dbPassword) Sets the value ofCfnStackPropsMixin.RdsDbInstanceProperty.getDbPassword()Sets the value ofCfnStackPropsMixin.RdsDbInstanceProperty.getDbUser()rdsDbInstanceArn(String rdsDbInstanceArn) Sets the value ofCfnStackPropsMixin.RdsDbInstanceProperty.getRdsDbInstanceArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dbPassword
@Stability(Stable) public CfnStackPropsMixin.RdsDbInstanceProperty.Builder dbPassword(String dbPassword) Sets the value ofCfnStackPropsMixin.RdsDbInstanceProperty.getDbPassword()- Parameters:
dbPassword- OpsWorks Stacks returns*****FILTERED*****instead of the actual value.- Returns:
this
-
dbUser
Sets the value ofCfnStackPropsMixin.RdsDbInstanceProperty.getDbUser()- Parameters:
dbUser- The master user name.- Returns:
this
-
rdsDbInstanceArn
@Stability(Stable) public CfnStackPropsMixin.RdsDbInstanceProperty.Builder rdsDbInstanceArn(String rdsDbInstanceArn) Sets the value ofCfnStackPropsMixin.RdsDbInstanceProperty.getRdsDbInstanceArn()- Parameters:
rdsDbInstanceArn- The instance's ARN.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStackPropsMixin.RdsDbInstanceProperty>- Returns:
- a new instance of
CfnStackPropsMixin.RdsDbInstanceProperty - Throws:
NullPointerException- if any required attribute was not provided
-