Class Nameserver
- java.lang.Object
-
- com.amazonaws.services.route53domains.model.Nameserver
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Nameserver extends Object implements Serializable, Cloneable
Nameserver includes the following elements.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Nameserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Nameserverclone()booleanequals(Object obj)List<String>getGlueIps()Glue IP address of a name server entry.StringgetName()The fully qualified host name of the name server.inthashCode()voidsetGlueIps(Collection<String> glueIps)Glue IP address of a name server entry.voidsetName(String name)The fully qualified host name of the name server.StringtoString()Returns a string representation of this object; useful for testing and debugging.NameserverwithGlueIps(String... glueIps)Glue IP address of a name server entry.NameserverwithGlueIps(Collection<String> glueIps)Glue IP address of a name server entry.NameserverwithName(String name)The fully qualified host name of the name server.
-
-
-
Method Detail
-
setName
public void setName(String name)
The fully qualified host name of the name server.
Type: String
Constraint: Maximum 255 characterss
Parent:
Nameservers- Parameters:
name- The fully qualified host name of the name server.Type: String
Constraint: Maximum 255 characterss
Parent:
Nameservers
-
getName
public String getName()
The fully qualified host name of the name server.
Type: String
Constraint: Maximum 255 characterss
Parent:
Nameservers- Returns:
- The fully qualified host name of the name server.
Type: String
Constraint: Maximum 255 characterss
Parent:
Nameservers
-
withName
public Nameserver withName(String name)
The fully qualified host name of the name server.
Type: String
Constraint: Maximum 255 characterss
Parent:
Nameservers- Parameters:
name- The fully qualified host name of the name server.Type: String
Constraint: Maximum 255 characterss
Parent:
Nameservers- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getGlueIps
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- Returns:
- 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
-
setGlueIps
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- Parameters:
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
-
withGlueIps
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:
NameserversNOTE: This method appends the values to the existing list (if any). Use
setGlueIps(java.util.Collection)orwithGlueIps(java.util.Collection)if you want to override the existing values.- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withGlueIps
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- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Nameserver clone()
-
-