@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:58.826Z") public enum NamespaceType extends java.lang.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(java.lang.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.
|
public static final NamespaceType HTTP
public static final NamespaceType DNS_PRIVATE
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(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