@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrafficSourceState extends Object implements Serializable, Cloneable
Describes the state of a traffic source.
| Constructor and Description |
|---|
TrafficSourceState() |
| Modifier and Type | Method and Description |
|---|---|
TrafficSourceState |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The following are the possible states for a VPC Lattice target group:
|
String |
getTrafficSource()
The unique identifier of the traffic source.
|
int |
hashCode() |
void |
setState(String state)
The following are the possible states for a VPC Lattice target group:
|
void |
setTrafficSource(String trafficSource)
The unique identifier of the traffic source.
|
String |
toString()
Returns a string representation of this object.
|
TrafficSourceState |
withState(String state)
The following are the possible states for a VPC Lattice target group:
|
TrafficSourceState |
withTrafficSource(String trafficSource)
The unique identifier of the traffic source.
|
public void setTrafficSource(String trafficSource)
The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.
trafficSource - The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC
Lattice target group.public String getTrafficSource()
The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.
public TrafficSourceState withTrafficSource(String trafficSource)
The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.
trafficSource - The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC
Lattice target group.public void setState(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.
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.
public String getState()
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 withState(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.
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.
public String toString()
toString in class ObjectObject.toString()public TrafficSourceState clone()
Copyright © 2023. All rights reserved.