@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:58.835Z") public enum RoutingPolicy extends java.lang.Enum<RoutingPolicy>
Enum Constant and Description |
---|
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.
|
WEIGHTED
Route 53 returns the applicable value from one randomly selected instance from among the instances that you registered using the same service.
|
Modifier and Type | Method and Description |
---|---|
static RoutingPolicy |
valueOf(java.lang.String name)
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.
|
public static final RoutingPolicy WEIGHTED
public static final RoutingPolicy MULTIVALUE
public static RoutingPolicy[] values()
for (RoutingPolicy c : RoutingPolicy.values()) System.out.println(c);
public static RoutingPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null