public class Nameserver extends Object implements Serializable, Cloneable
Nameserver includes the following elements.
Constructor and Description |
---|
Nameserver() |
Modifier and Type | Method and Description |
---|---|
Nameserver |
clone() |
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 void setName(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 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(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 List<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(Collection<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(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(Collection<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 String toString()
toString
in class Object
Object.toString()
public Nameserver clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.