@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomDNSServer extends Object implements Serializable, Cloneable, StructuredPojo
A list of DNS server name and server IP. This is used to set up Route-53 outbound resolvers.
Constructor and Description |
---|
CustomDNSServer() |
Modifier and Type | Method and Description |
---|---|
CustomDNSServer |
clone() |
boolean |
equals(Object obj) |
String |
getCustomDNSServerIP()
The IP address of the DNS server.
|
String |
getCustomDNSServerName()
The name of the DNS server.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomDNSServerIP(String customDNSServerIP)
The IP address of the DNS server.
|
void |
setCustomDNSServerName(String customDNSServerName)
The name of the DNS server.
|
String |
toString()
Returns a string representation of this object.
|
CustomDNSServer |
withCustomDNSServerIP(String customDNSServerIP)
The IP address of the DNS server.
|
CustomDNSServer |
withCustomDNSServerName(String customDNSServerName)
The name of the DNS server.
|
public void setCustomDNSServerName(String customDNSServerName)
The name of the DNS server.
customDNSServerName
- The name of the DNS server.public String getCustomDNSServerName()
The name of the DNS server.
public CustomDNSServer withCustomDNSServerName(String customDNSServerName)
The name of the DNS server.
customDNSServerName
- The name of the DNS server.public void setCustomDNSServerIP(String customDNSServerIP)
The IP address of the DNS server.
customDNSServerIP
- The IP address of the DNS server.public String getCustomDNSServerIP()
The IP address of the DNS server.
public CustomDNSServer withCustomDNSServerIP(String customDNSServerIP)
The IP address of the DNS server.
customDNSServerIP
- The IP address of the DNS server.public String toString()
toString
in class Object
Object.toString()
public CustomDNSServer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.