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