@Generated(value="software.amazon.awssdk:codegen") public final class TargetSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetSummary.Builder,TargetSummary>
Summary information about a target.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TargetSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TargetSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the target.
|
Integer |
port()
The port on which the target is listening.
|
String |
reasonCode()
The code for why the target status is what it is.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TargetSummary.Builder> |
serializableBuilderClass() |
TargetStatus |
status()
The status of the target.
|
String |
statusAsString()
The status of the target.
|
TargetSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 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.
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.public final Integer port()
The port on which the target is listening.
public final String reasonCode()
The code for why the target status is what it is.
public final 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.
If the service returns an enum value that is not available in the current SDK version, status will
return TargetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
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.
TargetStatuspublic final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, status will
return TargetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
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.
TargetStatuspublic TargetSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TargetSummary.Builder,TargetSummary>public static TargetSummary.Builder builder()
public static Class<? extends TargetSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.