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