Interface TargetSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TargetSummary.Builder,
,TargetSummary> SdkBuilder<TargetSummary.Builder,
,TargetSummary> SdkPojo
- Enclosing class:
TargetSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the target.The port on which the target is listening.reasonCode
(String reasonCode) The code for why the target status is what it is.The status of the target.status
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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 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 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
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
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
The status of the target.
-
DRAINING
: The target is being deregistered. No new connections are sent to this target while current connections are being drained. The 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 are sent to this target while current connections are being drained. The 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:
-
-
status
The status of the target.
-
DRAINING
: The target is being deregistered. No new connections are sent to this target while current connections are being drained. The 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 are sent to this target while current connections are being drained. The 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:
-
-