Class DBProxyReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.rds.DBProxyReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DBProxyReference>
- Enclosing interface:
DBProxyReference
@Stability(Stable)
public static final class DBProxyReference.Builder
extends Object
implements software.amazon.jsii.Builder<DBProxyReference>
A builder for
DBProxyReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dbProxyArn(String dbProxyArn) Sets the value ofDBProxyReference.getDbProxyArn()dbProxyName(String dbProxyName) Sets the value ofDBProxyReference.getDbProxyName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dbProxyArn
Sets the value ofDBProxyReference.getDbProxyArn()- Parameters:
dbProxyArn- The ARN of the DBProxy resource. This parameter is required.- Returns:
this
-
dbProxyName
Sets the value ofDBProxyReference.getDbProxyName()- Parameters:
dbProxyName- The DBProxyName of the DBProxy resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DBProxyReference>- Returns:
- a new instance of
DBProxyReference - Throws:
NullPointerException- if any required attribute was not provided
-