Class DBProxyTargetGroupReference.Builder
java.lang.Object
software.amazon.awscdk.services.rds.DBProxyTargetGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DBProxyTargetGroupReference>
- Enclosing interface:
DBProxyTargetGroupReference
@Stability(Stable)
public static final class DBProxyTargetGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<DBProxyTargetGroupReference>
A builder for
DBProxyTargetGroupReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.targetGroupArn
(String targetGroupArn) Sets the value ofDBProxyTargetGroupReference.getTargetGroupArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetGroupArn
Sets the value ofDBProxyTargetGroupReference.getTargetGroupArn()
- Parameters:
targetGroupArn
- The TargetGroupArn of the DBProxyTargetGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DBProxyTargetGroupReference>
- Returns:
- a new instance of
DBProxyTargetGroupReference
- Throws:
NullPointerException
- if any required attribute was not provided
-