Class AlbListenerDefaultActionForwardTargetGroup.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.alb_listener.AlbListenerDefaultActionForwardTargetGroup.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlbListenerDefaultActionForwardTargetGroup>
- Enclosing interface:
- AlbListenerDefaultActionForwardTargetGroup
@Stability(Stable) public static final class AlbListenerDefaultActionForwardTargetGroup.Builder extends Object implements software.amazon.jsii.Builder<AlbListenerDefaultActionForwardTargetGroup>
A builder forAlbListenerDefaultActionForwardTargetGroup
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlbListenerDefaultActionForwardTargetGroup.Builderarn(String arn)Sets the value ofAlbListenerDefaultActionForwardTargetGroup.getArn()AlbListenerDefaultActionForwardTargetGroupbuild()Builds the configured instance.AlbListenerDefaultActionForwardTargetGroup.Builderweight(Number weight)Sets the value ofAlbListenerDefaultActionForwardTargetGroup.getWeight()
-
-
-
Method Detail
-
arn
@Stability(Stable) public AlbListenerDefaultActionForwardTargetGroup.Builder arn(String arn)
Sets the value ofAlbListenerDefaultActionForwardTargetGroup.getArn()- Parameters:
arn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#arn AlbListener#arn}. This parameter is required.- Returns:
this
-
weight
@Stability(Stable) public AlbListenerDefaultActionForwardTargetGroup.Builder weight(Number weight)
Sets the value ofAlbListenerDefaultActionForwardTargetGroup.getWeight()- Parameters:
weight- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#weight AlbListener#weight}.- Returns:
this
-
build
@Stability(Stable) public AlbListenerDefaultActionForwardTargetGroup build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlbListenerDefaultActionForwardTargetGroup>- Returns:
- a new instance of
AlbListenerDefaultActionForwardTargetGroup - Throws:
NullPointerException- if any required attribute was not provided
-
-