Package com.pulumi.aws.lb.inputs
Class TargetGroupAttachmentState.Builder
- java.lang.Object
-
- com.pulumi.aws.lb.inputs.TargetGroupAttachmentState.Builder
-
- Enclosing class:
- TargetGroupAttachmentState
public static final class TargetGroupAttachmentState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(TargetGroupAttachmentState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TargetGroupAttachmentState defaults)
-
-
Method Detail
-
availabilityZone
public TargetGroupAttachmentState.Builder availabilityZone(@Nullable com.pulumi.core.Output<java.lang.String> availabilityZone)
- Parameters:
availabilityZone- The Availability Zone where the IP address of the target is to be registered. If the private IP address is outside of the VPC scope, this value must be set to `all`.- Returns:
- builder
-
availabilityZone
public TargetGroupAttachmentState.Builder availabilityZone(java.lang.String availabilityZone)
- Parameters:
availabilityZone- The Availability Zone where the IP address of the target is to be registered. If the private IP address is outside of the VPC scope, this value must be set to `all`.- Returns:
- builder
-
port
public TargetGroupAttachmentState.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port- The port on which targets receive traffic.- Returns:
- builder
-
port
public TargetGroupAttachmentState.Builder port(java.lang.Integer port)
- Parameters:
port- The port on which targets receive traffic.- Returns:
- builder
-
quicServerId
public TargetGroupAttachmentState.Builder quicServerId(@Nullable com.pulumi.core.Output<java.lang.String> quicServerId)
- Parameters:
quicServerId- Server ID for the targets, consisting of the 0x prefix followed by 16 hexadecimal characters. The value must be unique at the listener level. Required if `aws.lb.TargetGroup` protocol is `QUIC` or `TCP_QUIC`. Not valid with other protocols. Forces replacement if modified.- Returns:
- builder
-
quicServerId
public TargetGroupAttachmentState.Builder quicServerId(java.lang.String quicServerId)
- Parameters:
quicServerId- Server ID for the targets, consisting of the 0x prefix followed by 16 hexadecimal characters. The value must be unique at the listener level. Required if `aws.lb.TargetGroup` protocol is `QUIC` or `TCP_QUIC`. Not valid with other protocols. Forces replacement if modified.- Returns:
- builder
-
region
public TargetGroupAttachmentState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public TargetGroupAttachmentState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
targetGroupArn
public TargetGroupAttachmentState.Builder targetGroupArn(@Nullable com.pulumi.core.Output<java.lang.String> targetGroupArn)
- Parameters:
targetGroupArn- The ARN of the target group with which to register targets.- Returns:
- builder
-
targetGroupArn
public TargetGroupAttachmentState.Builder targetGroupArn(java.lang.String targetGroupArn)
- Parameters:
targetGroupArn- The ARN of the target group with which to register targets.- Returns:
- builder
-
targetId
public TargetGroupAttachmentState.Builder targetId(@Nullable com.pulumi.core.Output<java.lang.String> targetId)
- Parameters:
targetId- The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is `ip`, specify an IP address. If the target type is `lambda`, specify the Lambda function ARN. If the target type is `alb`, specify the ALB ARN. The following arguments are optional:- Returns:
- builder
-
targetId
public TargetGroupAttachmentState.Builder targetId(java.lang.String targetId)
- Parameters:
targetId- The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is `ip`, specify an IP address. If the target type is `lambda`, specify the Lambda function ARN. If the target type is `alb`, specify the ALB ARN. The following arguments are optional:- Returns:
- builder
-
build
public TargetGroupAttachmentState build()
-
-