Class AlbListenerDefaultActionForward.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.alb_listener.AlbListenerDefaultActionForward.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlbListenerDefaultActionForward>
- Enclosing interface:
- AlbListenerDefaultActionForward
@Stability(Stable) public static final class AlbListenerDefaultActionForward.Builder extends Object implements software.amazon.jsii.Builder<AlbListenerDefaultActionForward>
A builder forAlbListenerDefaultActionForward
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlbListenerDefaultActionForwardbuild()Builds the configured instance.AlbListenerDefaultActionForward.Builderstickiness(AlbListenerDefaultActionForwardStickiness stickiness)Sets the value ofAlbListenerDefaultActionForward.getStickiness()AlbListenerDefaultActionForward.BuildertargetGroup(com.hashicorp.cdktf.IResolvable targetGroup)Sets the value ofAlbListenerDefaultActionForward.getTargetGroup()AlbListenerDefaultActionForward.BuildertargetGroup(List<? extends AlbListenerDefaultActionForwardTargetGroup> targetGroup)Sets the value ofAlbListenerDefaultActionForward.getTargetGroup()
-
-
-
Method Detail
-
targetGroup
@Stability(Stable) public AlbListenerDefaultActionForward.Builder targetGroup(com.hashicorp.cdktf.IResolvable targetGroup)
Sets the value ofAlbListenerDefaultActionForward.getTargetGroup()- Parameters:
targetGroup- target_group block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#target_group AlbListener#target_group}- Returns:
this
-
targetGroup
@Stability(Stable) public AlbListenerDefaultActionForward.Builder targetGroup(List<? extends AlbListenerDefaultActionForwardTargetGroup> targetGroup)
Sets the value ofAlbListenerDefaultActionForward.getTargetGroup()- Parameters:
targetGroup- target_group block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#target_group AlbListener#target_group}- Returns:
this
-
stickiness
@Stability(Stable) public AlbListenerDefaultActionForward.Builder stickiness(AlbListenerDefaultActionForwardStickiness stickiness)
Sets the value ofAlbListenerDefaultActionForward.getStickiness()- Parameters:
stickiness- stickiness block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#stickiness AlbListener#stickiness}- Returns:
this
-
build
@Stability(Stable) public AlbListenerDefaultActionForward build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlbListenerDefaultActionForward>- Returns:
- a new instance of
AlbListenerDefaultActionForward - Throws:
NullPointerException- if any required attribute was not provided
-
-