Interface TargetSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TargetSummary.Builder,TargetSummary>,SdkBuilder<TargetSummary.Builder,TargetSummary>,SdkPojo
- Enclosing class:
- TargetSummary
public static interface TargetSummary.Builder extends SdkPojo, CopyableBuilder<TargetSummary.Builder,TargetSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TargetSummary.Builderid(String id)The ID of the target.TargetSummary.Builderport(Integer port)The port on which the target is listening.TargetSummary.BuilderreasonCode(String reasonCode)The code for why the target status is what it is.TargetSummary.Builderstatus(String status)The status of the target.TargetSummary.Builderstatus(TargetStatus status)The status of the target.-
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
TargetSummary.Builder id(String 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 isIP, this is an IP address. If the target type isLAMBDA, this is the ARN of the Lambda function. If the target type isALB, this is the ARN of the Application Load Balancer.- Parameters:
id- The ID of the target. If the target type of the target group isINSTANCE, this is an instance ID. If the target type isIP, this is an IP address. If the target type isLAMBDA, this is the ARN of the Lambda function. If the target type isALB, this is the ARN of the Application Load Balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
TargetSummary.Builder port(Integer port)
The port on which the target is listening.
- Parameters:
port- The port on which the target is listening.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasonCode
TargetSummary.Builder reasonCode(String reasonCode)
The code for why the target status is what it is.
- Parameters:
reasonCode- The code for why the target status is what it is.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
TargetSummary.Builder status(String status)
The status of the target.
-
Draining: The target is being deregistered. No new connections will be sent to this target while current connections are being drained. Default draining time is 5 minutes. -
Unavailable: Health checks are unavailable for the target group. -
Healthy: The target is healthy. -
Unhealthy: The target is unhealthy. -
Initial: Initial health checks on the target are being performed. -
Unused: Target group is not used in a service.
- Parameters:
status- The status of the target.-
Draining: The target is being deregistered. No new connections will be sent to this target while current connections are being drained. Default draining time is 5 minutes. -
Unavailable: Health checks are unavailable for the target group. -
Healthy: The target is healthy. -
Unhealthy: The target is unhealthy. -
Initial: Initial health checks on the target are being performed. -
Unused: Target group is not used in a service.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetStatus,TargetStatus
-
-
status
TargetSummary.Builder status(TargetStatus status)
The status of the target.
-
Draining: The target is being deregistered. No new connections will be sent to this target while current connections are being drained. Default draining time is 5 minutes. -
Unavailable: Health checks are unavailable for the target group. -
Healthy: The target is healthy. -
Unhealthy: The target is unhealthy. -
Initial: Initial health checks on the target are being performed. -
Unused: Target group is not used in a service.
- Parameters:
status- The status of the target.-
Draining: The target is being deregistered. No new connections will be sent to this target while current connections are being drained. Default draining time is 5 minutes. -
Unavailable: Health checks are unavailable for the target group. -
Healthy: The target is healthy. -
Unhealthy: The target is unhealthy. -
Initial: Initial health checks on the target are being performed. -
Unused: Target group is not used in a service.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetStatus,TargetStatus
-
-
-