@Generated(value="software.amazon.awssdk:codegen") public final class TrafficSourceState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TrafficSourceState.Builder,TrafficSourceState>
Describes the state of a traffic source.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TrafficSourceState.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TrafficSourceState.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TrafficSourceState.Builder> |
serializableBuilderClass() |
String |
state()
The following are the possible states for a VPC Lattice target group:
|
TrafficSourceState.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
trafficSource()
The unique identifier of the traffic source.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String trafficSource()
The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.
public final String state()
The following are the possible states for a VPC Lattice target group:
Adding - The Auto Scaling instances are being registered with the target group.
Added - All Auto Scaling instances are registered with the target group.
InService - At least one Auto Scaling instance passed the VPC_LATTICE health check.
Removing - The Auto Scaling instances are being deregistered from the target group. If connection
draining is enabled, VPC Lattice waits for in-flight requests to complete before deregistering the instances.
Removed - All Auto Scaling instances are deregistered from the target group.
Adding - The Auto Scaling instances are being registered with the target group.
Added - All Auto Scaling instances are registered with the target group.
InService - At least one Auto Scaling instance passed the VPC_LATTICE health
check.
Removing - The Auto Scaling instances are being deregistered from the target group. If
connection draining is enabled, VPC Lattice waits for in-flight requests to complete before deregistering
the instances.
Removed - All Auto Scaling instances are deregistered from the target group.
public TrafficSourceState.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TrafficSourceState.Builder,TrafficSourceState>public static TrafficSourceState.Builder builder()
public static Class<? extends TrafficSourceState.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.