Class DatabaseProxyEndpointAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.rds.DatabaseProxyEndpointAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatabaseProxyEndpointAttributes>
- Enclosing interface:
DatabaseProxyEndpointAttributes
@Stability(Stable)
public static final class DatabaseProxyEndpointAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<DatabaseProxyEndpointAttributes>
A builder for
DatabaseProxyEndpointAttributes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dbProxyEndpointArn
(String dbProxyEndpointArn) Sets the value ofDatabaseProxyEndpointAttributes.getDbProxyEndpointArn()
dbProxyEndpointName
(String dbProxyEndpointName) Sets the value ofDatabaseProxyEndpointAttributes.getDbProxyEndpointName()
Sets the value ofDatabaseProxyEndpointAttributes.getEndpoint()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dbProxyEndpointArn
@Stability(Stable) public DatabaseProxyEndpointAttributes.Builder dbProxyEndpointArn(String dbProxyEndpointArn) Sets the value ofDatabaseProxyEndpointAttributes.getDbProxyEndpointArn()
- Parameters:
dbProxyEndpointArn
- DB Proxy Endpoint ARN. This parameter is required.- Returns:
this
-
dbProxyEndpointName
@Stability(Stable) public DatabaseProxyEndpointAttributes.Builder dbProxyEndpointName(String dbProxyEndpointName) Sets the value ofDatabaseProxyEndpointAttributes.getDbProxyEndpointName()
- Parameters:
dbProxyEndpointName
- DB Proxy Endpoint Name. This parameter is required.- Returns:
this
-
endpoint
Sets the value ofDatabaseProxyEndpointAttributes.getEndpoint()
- Parameters:
endpoint
- The endpoint that you can use to connect to the DB proxy. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DatabaseProxyEndpointAttributes>
- Returns:
- a new instance of
DatabaseProxyEndpointAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-