@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.156Z") @Stability(value=Stable) public enum NamespaceType extends Enum<NamespaceType>
| Enum Constant and Description |
|---|
DNS_PRIVATE
Choose this option if you want your application to be able to discover instances using either API calls or using DNS queries in a VPC.
|
DNS_PUBLIC
Choose this option if you want your application to be able to discover instances using either API calls or using public DNS queries.
|
HTTP
Choose this option if you want your application to use only API calls to discover registered instances.
|
| Modifier and Type | Method and Description |
|---|---|
static NamespaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NamespaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final NamespaceType HTTP
@Stability(value=Stable) public static final NamespaceType DNS_PRIVATE
@Stability(value=Stable) public static final NamespaceType DNS_PUBLIC
You aren't required to use both methods.
public static NamespaceType[] values()
for (NamespaceType c : NamespaceType.values()) System.out.println(c);
public static NamespaceType 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.