@Generated(value="software.amazon.awssdk:codegen") public final class Target extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Target.Builder,Target>
Describes a target.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Target.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Target.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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Target.Builder> |
serializableBuilderClass() |
Target.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. For HTTP, the default is 80. For HTTPS, the default is
443.
80. For HTTPS, the
default is 443.public Target.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Target.Builder,Target>public static Target.Builder builder()
public static Class<? extends Target.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.