Package com.pulumi.aws.vpclattice.inputs
Class TargetGroupAttachmentTargetArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.vpclattice.inputs.TargetGroupAttachmentTargetArgs.Builder
-
- Enclosing class:
- TargetGroupAttachmentTargetArgs
public static final class TargetGroupAttachmentTargetArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(TargetGroupAttachmentTargetArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetGroupAttachmentTargetArgs
build()
TargetGroupAttachmentTargetArgs.Builder
id(com.pulumi.core.Output<java.lang.String> id)
TargetGroupAttachmentTargetArgs.Builder
id(java.lang.String id)
TargetGroupAttachmentTargetArgs.Builder
port(com.pulumi.core.Output<java.lang.Integer> port)
TargetGroupAttachmentTargetArgs.Builder
port(java.lang.Integer port)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TargetGroupAttachmentTargetArgs defaults)
-
-
Method Detail
-
id
public TargetGroupAttachmentTargetArgs.Builder id(com.pulumi.core.Output<java.lang.String> id)
- Parameters:
id
- The ID of the target. If the target type of the target group is INSTANCE, this is an instance ID. If the target type is IP , this is an IP address. If the target type is LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load Balancer.- Returns:
- builder
-
id
public TargetGroupAttachmentTargetArgs.Builder id(java.lang.String id)
- Parameters:
id
- The ID of the target. If the target type of the target group is INSTANCE, this is an instance ID. If the target type is IP , this is an IP address. If the target type is LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load Balancer.- Returns:
- builder
-
port
public TargetGroupAttachmentTargetArgs.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port
- This port is used for routing traffic to the target, and defaults to the target group port. However, you can override the default and specify a custom port.- Returns:
- builder
-
port
public TargetGroupAttachmentTargetArgs.Builder port(java.lang.Integer port)
- Parameters:
port
- This port is used for routing traffic to the target, and defaults to the target group port. However, you can override the default and specify a custom port.- Returns:
- builder
-
build
public TargetGroupAttachmentTargetArgs build()
-
-