@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Nameserver extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
Constraint: Maximum 255 characters
name
- The fully qualified host name of the name server.
Constraint: Maximum 255 characters
public String getName()
The fully qualified host name of the name server.
Constraint: Maximum 255 characters
Constraint: Maximum 255 characters
public Nameserver withName(String name)
The fully qualified host name of the name server.
Constraint: Maximum 255 characters
name
- The fully qualified host name of the name server.
Constraint: Maximum 255 characters
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.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Constraints: The list can contain only one IPv4 and one IPv6 address.
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.
Constraints: The list can contain only one IPv4 and one IPv6 address.
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.
Constraints: The list can contain only one IPv4 and one IPv6 address.
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.
Constraints: The list can contain only one IPv4 and one IPv6 address.
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.
Constraints: The list can contain only one IPv4 and one IPv6 address.
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.
Constraints: The list can contain only one IPv4 and one IPv6 address.
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.
Constraints: The list can contain only one IPv4 and one IPv6 address.
public String toString()
toString
in class Object
Object.toString()
public Nameserver clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.