@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DnsConfig extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance.
Constructor and Description |
---|
DnsConfig() |
Modifier and Type | Method and Description |
---|---|
DnsConfig |
clone() |
boolean |
equals(Object obj) |
List<DnsRecord> |
getDnsRecords()
An array that contains one
DnsRecord object for each resource record set that you want Amazon Route
53 to create when you register an instance. |
String |
getNamespaceId()
The ID of the namespace to use for DNS configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDnsRecords(Collection<DnsRecord> dnsRecords)
An array that contains one
DnsRecord object for each resource record set that you want Amazon Route
53 to create when you register an instance. |
void |
setNamespaceId(String namespaceId)
The ID of the namespace to use for DNS configuration.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DnsConfig |
withDnsRecords(Collection<DnsRecord> dnsRecords)
An array that contains one
DnsRecord object for each resource record set that you want Amazon Route
53 to create when you register an instance. |
DnsConfig |
withDnsRecords(DnsRecord... dnsRecords)
An array that contains one
DnsRecord object for each resource record set that you want Amazon Route
53 to create when you register an instance. |
DnsConfig |
withNamespaceId(String namespaceId)
The ID of the namespace to use for DNS configuration.
|
public void setNamespaceId(String namespaceId)
The ID of the namespace to use for DNS configuration.
namespaceId
- The ID of the namespace to use for DNS configuration.public String getNamespaceId()
The ID of the namespace to use for DNS configuration.
public DnsConfig withNamespaceId(String namespaceId)
The ID of the namespace to use for DNS configuration.
namespaceId
- The ID of the namespace to use for DNS configuration.public List<DnsRecord> getDnsRecords()
An array that contains one DnsRecord
object for each resource record set that you want Amazon Route
53 to create when you register an instance.
DnsRecord
object for each resource record set that you want
Amazon Route 53 to create when you register an instance.public void setDnsRecords(Collection<DnsRecord> dnsRecords)
An array that contains one DnsRecord
object for each resource record set that you want Amazon Route
53 to create when you register an instance.
dnsRecords
- An array that contains one DnsRecord
object for each resource record set that you want Amazon
Route 53 to create when you register an instance.public DnsConfig withDnsRecords(DnsRecord... dnsRecords)
An array that contains one DnsRecord
object for each resource record set that you want Amazon Route
53 to create when you register an instance.
NOTE: This method appends the values to the existing list (if any). Use
setDnsRecords(java.util.Collection)
or withDnsRecords(java.util.Collection)
if you want to
override the existing values.
dnsRecords
- An array that contains one DnsRecord
object for each resource record set that you want Amazon
Route 53 to create when you register an instance.public DnsConfig withDnsRecords(Collection<DnsRecord> dnsRecords)
An array that contains one DnsRecord
object for each resource record set that you want Amazon Route
53 to create when you register an instance.
dnsRecords
- An array that contains one DnsRecord
object for each resource record set that you want Amazon
Route 53 to create when you register an instance.public String toString()
toString
in class Object
Object.toString()
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.