Class TargetGroupReference.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.targetGroupArn(String targetGroupArn) Sets the value ofTargetGroupReference.getTargetGroupArn()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
targetGroupArnSets the value ofTargetGroupReference.getTargetGroupArn()- Parameters:
- targetGroupArn- The TargetGroupArn of the TargetGroup resource. This parameter is required.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<TargetGroupReference>
- Returns:
- a new instance of TargetGroupReference
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-