Interface Target.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Target.Builder,Target>,SdkBuilder<Target.Builder,Target>,SdkPojo
- Enclosing class:
- Target
public static interface Target.Builder extends SdkPojo, CopyableBuilder<Target.Builder,Target>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Target.Builderid(String id)The ID of the target.Target.Builderport(Integer port)The port on which the target is listening.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
Target.Builder id(String id)
The ID of the target. If the target group type is
INSTANCE, this is an instance ID. If the target group type isIP, this is an IP address. If the target group type isLAMBDA, this is the ARN of a Lambda function. If the target group type isALB, this is the ARN of an Application Load Balancer.- Parameters:
id- The ID of the target. If the target group type isINSTANCE, this is an instance ID. If the target group type isIP, this is an IP address. If the target group type isLAMBDA, this is the ARN of a Lambda function. If the target group type isALB, this is the ARN of an Application Load Balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
Target.Builder port(Integer port)
The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.
- Parameters:
port- The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-