Class AlbListenerDefaultAction.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.alb_listener.AlbListenerDefaultAction.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlbListenerDefaultAction>
- Enclosing interface:
- AlbListenerDefaultAction
@Stability(Stable) public static final class AlbListenerDefaultAction.Builder extends Object implements software.amazon.jsii.Builder<AlbListenerDefaultAction>
A builder forAlbListenerDefaultAction
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
type
@Stability(Stable) public AlbListenerDefaultAction.Builder type(String type)
Sets the value ofAlbListenerDefaultAction.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#type AlbListener#type}. This parameter is required.- Returns:
this
-
authenticateCognito
@Stability(Stable) public AlbListenerDefaultAction.Builder authenticateCognito(AlbListenerDefaultActionAuthenticateCognito authenticateCognito)
Sets the value ofAlbListenerDefaultAction.getAuthenticateCognito()- Parameters:
authenticateCognito- authenticate_cognito block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#authenticate_cognito AlbListener#authenticate_cognito}- Returns:
this
-
authenticateOidc
@Stability(Stable) public AlbListenerDefaultAction.Builder authenticateOidc(AlbListenerDefaultActionAuthenticateOidc authenticateOidc)
Sets the value ofAlbListenerDefaultAction.getAuthenticateOidc()- Parameters:
authenticateOidc- authenticate_oidc block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#authenticate_oidc AlbListener#authenticate_oidc}- Returns:
this
-
fixedResponse
@Stability(Stable) public AlbListenerDefaultAction.Builder fixedResponse(AlbListenerDefaultActionFixedResponse fixedResponse)
Sets the value ofAlbListenerDefaultAction.getFixedResponse()- Parameters:
fixedResponse- fixed_response block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#fixed_response AlbListener#fixed_response}- Returns:
this
-
forward
@Stability(Stable) public AlbListenerDefaultAction.Builder forward(AlbListenerDefaultActionForward forward)
Sets the value ofAlbListenerDefaultAction.getForward()- Parameters:
forward- forward block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#forward AlbListener#forward}- Returns:
this
-
order
@Stability(Stable) public AlbListenerDefaultAction.Builder order(Number order)
Sets the value ofAlbListenerDefaultAction.getOrder()- Parameters:
order- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#order AlbListener#order}.- Returns:
this
-
redirect
@Stability(Stable) public AlbListenerDefaultAction.Builder redirect(AlbListenerDefaultActionRedirect redirect)
Sets the value ofAlbListenerDefaultAction.getRedirect()- Parameters:
redirect- redirect block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#redirect AlbListener#redirect}- Returns:
this
-
targetGroupArn
@Stability(Stable) public AlbListenerDefaultAction.Builder targetGroupArn(String targetGroupArn)
Sets the value ofAlbListenerDefaultAction.getTargetGroupArn()- Parameters:
targetGroupArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb_listener#target_group_arn AlbListener#target_group_arn}.- Returns:
this
-
build
@Stability(Stable) public AlbListenerDefaultAction build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlbListenerDefaultAction>- Returns:
- a new instance of
AlbListenerDefaultAction - Throws:
NullPointerException- if any required attribute was not provided
-
-