Enum DNSType
- java.lang.Object
-
- java.lang.Enum<DNSType>
-
- de.dytanic.cloudnet.ext.cloudflare.dns.DNSType
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DNSTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DNSType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A
public static final DNSType A
-
AAAA
public static final DNSType AAAA
-
HTTPS
public static final DNSType HTTPS
-
TXT
public static final DNSType TXT
-
SRV
public static final DNSType SRV
-
LOC
public static final DNSType LOC
-
MX
public static final DNSType MX
-
NS
public static final DNSType NS
-
SPF
public static final DNSType SPF
-
CERT
public static final DNSType CERT
-
DNSKEY
public static final DNSType DNSKEY
-
DS
public static final DNSType DS
-
NAPTR
public static final DNSType NAPTR
-
SMIMEA
public static final DNSType SMIMEA
-
SSHFP
public static final DNSType SSHFP
-
SVCB
public static final DNSType SVCB
-
TLSA
public static final DNSType TLSA
-
URI
public static final DNSType URI
-
-
Method Detail
-
values
public static DNSType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DNSType c : DNSType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DNSType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-