Enum RoutingPolicy
- All Implemented Interfaces:
Serializable
,Comparable<RoutingPolicy>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:25:07.473Z")
@Stability(Stable)
public enum RoutingPolicy
extends Enum<RoutingPolicy>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIf you define a health check for the service and the health check is healthy, Route 53 returns the applicable value for up to eight instances.Route 53 returns the applicable value from one randomly selected instance from among the instances that you registered using the same service. -
Method Summary
Modifier and TypeMethodDescriptionstatic RoutingPolicy
Returns the enum constant of this type with the specified name.static RoutingPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WEIGHTED
Route 53 returns the applicable value from one randomly selected instance from among the instances that you registered using the same service. -
MULTIVALUE
If you define a health check for the service and the health check is healthy, Route 53 returns the applicable value for up to eight instances.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-