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