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 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(String... glueIps)
Glue IP address of a name server entry.Nameserver
withGlueIps(Collection<String> glueIps)
Glue IP address of a name server entry.Nameserver
withName(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:
Nameservers
NOTE: 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Nameserver clone()
-
-