Class TrafficSourceState
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TrafficSourceState.Builder,TrafficSourceState>
Describes the state of a traffic source.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TrafficSourceState.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe unique identifier of the traffic source.static Class<? extends TrafficSourceState.Builder> final Stringstate()Describes the current state of a traffic source.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringDeprecated.TrafficSource has been replaced by Identifierfinal Stringtype()Provides additional context for the value ofIdentifier.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
trafficSource
Deprecated.TrafficSource has been replaced by IdentifierThis is replaced by
Identifier.- Returns:
- This is replaced by
Identifier.
-
state
Describes the current state of a traffic source.
The state values are as follows:
-
Adding- The Auto Scaling instances are being registered with the load balancer or target group. -
Added- All Auto Scaling instances are registered with the load balancer or target group. -
InService- For an Elastic Load Balancing load balancer or target group, at least one Auto Scaling instance passed anELBhealth check. For VPC Lattice, at least one Auto Scaling instance passed anVPC_LATTICEhealth check. -
Removing- The Auto Scaling instances are being deregistered from the load balancer or target group. If connection draining (deregistration delay) is enabled, Elastic Load Balancing or VPC Lattice waits for in-flight requests to complete before deregistering the instances. -
Removed- All Auto Scaling instances are deregistered from the load balancer or target group.
- Returns:
- Describes the current state of a traffic source.
The state values are as follows:
-
Adding- The Auto Scaling instances are being registered with the load balancer or target group. -
Added- All Auto Scaling instances are registered with the load balancer or target group. -
InService- For an Elastic Load Balancing load balancer or target group, at least one Auto Scaling instance passed anELBhealth check. For VPC Lattice, at least one Auto Scaling instance passed anVPC_LATTICEhealth check. -
Removing- The Auto Scaling instances are being deregistered from the load balancer or target group. If connection draining (deregistration delay) is enabled, Elastic Load Balancing or VPC Lattice waits for in-flight requests to complete before deregistering the instances. -
Removed- All Auto Scaling instances are deregistered from the load balancer or target group.
-
-
-
identifier
The unique identifier of the traffic source.
- Returns:
- The unique identifier of the traffic source.
-
type
Provides additional context for the value of
Identifier.The following lists the valid values:
-
elbifIdentifieris the name of a Classic Load Balancer. -
elbv2ifIdentifieris the ARN of an Application Load Balancer, Gateway Load Balancer, or Network Load Balancer target group. -
vpc-latticeifIdentifieris the ARN of a VPC Lattice target group.
Required if the identifier is the name of a Classic Load Balancer.
- Returns:
- Provides additional context for the value of
Identifier.The following lists the valid values:
-
elbifIdentifieris the name of a Classic Load Balancer. -
elbv2ifIdentifieris the ARN of an Application Load Balancer, Gateway Load Balancer, or Network Load Balancer target group. -
vpc-latticeifIdentifieris the ARN of a VPC Lattice target group.
Required if the identifier is the name of a Classic Load Balancer.
-
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<TrafficSourceState.Builder,TrafficSourceState> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-