@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.159Z") @Stability(value=Stable) public enum RoutingPolicy extends 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(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.
|
@Stability(value=Stable) public static final RoutingPolicy WEIGHTED
@Stability(value=Stable) public static final RoutingPolicy MULTIVALUE
public static RoutingPolicy[] values()
for (RoutingPolicy c : RoutingPolicy.values()) System.out.println(c);
public static RoutingPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.