public class Nameserver
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Nameserver includes the following elements.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
glueIps
Glue IP address of a name server entry.
|
private java.lang.String |
name
The fully qualified host name of the name server.
|
Constructor and Description |
---|
Nameserver() |
Modifier and Type | Method and Description |
---|---|
Nameserver |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getGlueIps()
Glue IP address of a name server entry.
|
java.lang.String |
getName()
The fully qualified host name of the name server.
|
int |
hashCode() |
void |
setGlueIps(java.util.Collection<java.lang.String> glueIps)
Glue IP address of a name server entry.
|
void |
setName(java.lang.String name)
The fully qualified host name of the name server.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Nameserver |
withGlueIps(java.util.Collection<java.lang.String> glueIps)
Glue IP address of a name server entry.
|
Nameserver |
withGlueIps(java.lang.String... glueIps)
Glue IP address of a name server entry.
|
Nameserver |
withName(java.lang.String name)
The fully qualified host name of the name server.
|
private java.lang.String name
The fully qualified host name of the name server.
Type: String
Constraint: Maximum 255 characterss
Parent: Nameservers
private SdkInternalList<java.lang.String> glueIps
Glue IP address of a name server entry. Glue IP addresses are required only when the name of the name server is a subdomain of the domain. For example, if your domain is example.com and the name server for the domain is ns.example.com, you need to specify the IP address for ns.example.com.
Type: List of IP addresses.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Parent: Nameservers
public void setName(java.lang.String name)
The fully qualified host name of the name server.
Type: String
Constraint: Maximum 255 characterss
Parent: Nameservers
name
- The fully qualified host name of the name server.
Type: String
Constraint: Maximum 255 characterss
Parent: Nameservers
public java.lang.String getName()
The fully qualified host name of the name server.
Type: String
Constraint: Maximum 255 characterss
Parent: Nameservers
Type: String
Constraint: Maximum 255 characterss
Parent: Nameservers
public Nameserver withName(java.lang.String name)
The fully qualified host name of the name server.
Type: String
Constraint: Maximum 255 characterss
Parent: Nameservers
name
- The fully qualified host name of the name server.
Type: String
Constraint: Maximum 255 characterss
Parent: Nameservers
public java.util.List<java.lang.String> getGlueIps()
Glue IP address of a name server entry. Glue IP addresses are required only when the name of the name server is a subdomain of the domain. For example, if your domain is example.com and the name server for the domain is ns.example.com, you need to specify the IP address for ns.example.com.
Type: List of IP addresses.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Parent: Nameservers
Type: List of IP addresses.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Parent: Nameservers
public void setGlueIps(java.util.Collection<java.lang.String> glueIps)
Glue IP address of a name server entry. Glue IP addresses are required only when the name of the name server is a subdomain of the domain. For example, if your domain is example.com and the name server for the domain is ns.example.com, you need to specify the IP address for ns.example.com.
Type: List of IP addresses.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Parent: Nameservers
glueIps
- Glue IP address of a name server entry. Glue IP addresses are
required only when the name of the name server is a subdomain of
the domain. For example, if your domain is example.com and the
name server for the domain is ns.example.com, you need to specify
the IP address for ns.example.com.
Type: List of IP addresses.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Parent: Nameservers
public Nameserver withGlueIps(java.lang.String... glueIps)
Glue IP address of a name server entry. Glue IP addresses are required only when the name of the name server is a subdomain of the domain. For example, if your domain is example.com and the name server for the domain is ns.example.com, you need to specify the IP address for ns.example.com.
Type: List of IP addresses.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Parent: Nameservers
NOTE: This method appends the values to the existing list (if
any). Use setGlueIps(java.util.Collection)
or
withGlueIps(java.util.Collection)
if you want to override the
existing values.
glueIps
- Glue IP address of a name server entry. Glue IP addresses are
required only when the name of the name server is a subdomain of
the domain. For example, if your domain is example.com and the
name server for the domain is ns.example.com, you need to specify
the IP address for ns.example.com.
Type: List of IP addresses.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Parent: Nameservers
public Nameserver withGlueIps(java.util.Collection<java.lang.String> glueIps)
Glue IP address of a name server entry. Glue IP addresses are required only when the name of the name server is a subdomain of the domain. For example, if your domain is example.com and the name server for the domain is ns.example.com, you need to specify the IP address for ns.example.com.
Type: List of IP addresses.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Parent: Nameservers
glueIps
- Glue IP address of a name server entry. Glue IP addresses are
required only when the name of the name server is a subdomain of
the domain. For example, if your domain is example.com and the
name server for the domain is ns.example.com, you need to specify
the IP address for ns.example.com.
Type: List of IP addresses.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Parent: Nameservers
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Nameserver clone()
clone
in class java.lang.Object