public class Nameserver extends Object implements Serializable
Nameserver includes the following elements.
Constructor and Description |
---|
Nameserver() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getGlueIps()
Glue IP address of a name server entry.
|
String |
getName()
The fully qualified host name of the name server.
|
int |
hashCode() |
void |
setGlueIps(Collection<String> glueIps)
Glue IP address of a name server entry.
|
void |
setName(String name)
The fully qualified host name of the name server.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Nameserver |
withGlueIps(Collection<String> glueIps)
Glue IP address of a name server entry.
|
Nameserver |
withGlueIps(String... glueIps)
Glue IP address of a name server entry.
|
Nameserver |
withName(String name)
The fully qualified host name of the name server.
|
public String getName()
Type: String
Constraint: Maximum 255 characterss
Parent:
Nameservers
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
Type: String
Constraint: Maximum 255 characterss
Parent:
Nameservers
public void setName(String name)
Type: String
Constraint: Maximum 255 characterss
Parent:
Nameservers
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
name
- The fully qualified host name of the name server. Type: String
Constraint: Maximum 255 characterss
Parent:
Nameservers
public Nameserver withName(String name)
Type: String
Constraint: Maximum 255 characterss
Parent:
Nameservers
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
name
- The fully qualified host name of the name server. Type: String
Constraint: Maximum 255 characterss
Parent:
Nameservers
public List<String> getGlueIps()
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(Collection<String> glueIps)
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(String... glueIps)
Type: List of IP addresses.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Parent:
Nameservers
Returns a reference to this object so that method calls can be chained together.
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(Collection<String> glueIps)
Type: List of IP addresses.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Parent:
Nameservers
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.