Package com.pulumi.aws.alb
Class TargetGroupAttachmentArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.alb.TargetGroupAttachmentArgs.Builder
-
- Enclosing class:
- TargetGroupAttachmentArgs
public static final class TargetGroupAttachmentArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(TargetGroupAttachmentArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetGroupAttachmentArgs.BuilderavailabilityZone(com.pulumi.core.Output<java.lang.String> availabilityZone)TargetGroupAttachmentArgs.BuilderavailabilityZone(java.lang.String availabilityZone)TargetGroupAttachmentArgsbuild()TargetGroupAttachmentArgs.Builderport(com.pulumi.core.Output<java.lang.Integer> port)TargetGroupAttachmentArgs.Builderport(java.lang.Integer port)TargetGroupAttachmentArgs.BuilderquicServerId(com.pulumi.core.Output<java.lang.String> quicServerId)TargetGroupAttachmentArgs.BuilderquicServerId(java.lang.String quicServerId)TargetGroupAttachmentArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)TargetGroupAttachmentArgs.Builderregion(java.lang.String region)TargetGroupAttachmentArgs.BuildertargetGroupArn(com.pulumi.core.Output<java.lang.String> targetGroupArn)TargetGroupAttachmentArgs.BuildertargetGroupArn(java.lang.String targetGroupArn)TargetGroupAttachmentArgs.BuildertargetId(com.pulumi.core.Output<java.lang.String> targetId)TargetGroupAttachmentArgs.BuildertargetId(java.lang.String targetId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TargetGroupAttachmentArgs defaults)
-
-
Method Detail
-
availabilityZone
public TargetGroupAttachmentArgs.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 TargetGroupAttachmentArgs.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 TargetGroupAttachmentArgs.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port- The port on which targets receive traffic.- Returns:
- builder
-
port
public TargetGroupAttachmentArgs.Builder port(java.lang.Integer port)
- Parameters:
port- The port on which targets receive traffic.- Returns:
- builder
-
quicServerId
public TargetGroupAttachmentArgs.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 TargetGroupAttachmentArgs.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 TargetGroupAttachmentArgs.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 TargetGroupAttachmentArgs.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 TargetGroupAttachmentArgs.Builder targetGroupArn(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 TargetGroupAttachmentArgs.Builder targetGroupArn(java.lang.String targetGroupArn)
- Parameters:
targetGroupArn- The ARN of the target group with which to register targets.- Returns:
- builder
-
targetId
public TargetGroupAttachmentArgs.Builder targetId(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 TargetGroupAttachmentArgs.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 TargetGroupAttachmentArgs build()
-
-