@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:48.054Z") @Stability(value=Experimental) public enum RoutingPolicy extends Enum<RoutingPolicy>
| Enum Constant and Description |
|---|
MULTIVALUE
(experimental) 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
(experimental) 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=Experimental) public static final RoutingPolicy WEIGHTED
@Stability(value=Experimental) 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 © 2021. All rights reserved.