@Generated(value="jsii-pacmak/1.31.0 (build 6fa403d)", date="2021-08-11T10:32:10.411Z") @Stability(value=Experimental) public enum DnsResponseType extends Enum<DnsResponseType>
| Enum Constant and Description |
|---|
ENDPOINTS
(experimental) DNS resolver is returning all the endpoints.
|
LOAD_BALANCER
(experimental) DNS resolver returns a loadbalanced set of endpoints and the traffic would be sent to the given endpoints.
|
| Modifier and Type | Method and Description |
|---|---|
static DnsResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DnsResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final DnsResponseType LOAD_BALANCER
It would not drain existing connections to other endpoints that are not part of this list.
@Stability(value=Experimental) public static final DnsResponseType ENDPOINTS
This also means that if an endpoint is missing, it would drain the current connections to the missing endpoint.
public static DnsResponseType[] values()
for (DnsResponseType c : DnsResponseType.values()) System.out.println(c);
public static DnsResponseType 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.