@Generated(value="software.amazon.awssdk:codegen") public final class TargetFailure extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetFailure.Builder,TargetFailure>
Describes a target failure.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TargetFailure.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TargetFailure.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureCode()
The failure code.
|
String |
failureMessage()
The failure message.
|
<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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TargetFailure.Builder> |
serializableBuilderClass() |
TargetFailure.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String failureCode()
The failure code.
public final String failureMessage()
The failure message.
public 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. This parameter doesn't apply if the target is a Lambda function.
public TargetFailure.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TargetFailure.Builder,TargetFailure>public static TargetFailure.Builder builder()
public static Class<? extends TargetFailure.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.