@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DnsConfigChange extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that contains information about changes to the Route 53 DNS records that AWS Cloud Map creates when you register an instance.
Constructor and Description |
---|
DnsConfigChange() |
Modifier and Type | Method and Description |
---|---|
DnsConfigChange |
clone() |
boolean |
equals(Object obj) |
List<DnsRecord> |
getDnsRecords()
An array that contains one
DnsRecord object for each Route 53 record that you want AWS Cloud Map to
create when you register an instance. |
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 Route 53 record that you want AWS Cloud Map to
create when you register an instance. |
String |
toString()
Returns a string representation of this object.
|
DnsConfigChange |
withDnsRecords(Collection<DnsRecord> dnsRecords)
An array that contains one
DnsRecord object for each Route 53 record that you want AWS Cloud Map to
create when you register an instance. |
DnsConfigChange |
withDnsRecords(DnsRecord... dnsRecords)
An array that contains one
DnsRecord object for each Route 53 record that you want AWS Cloud Map to
create when you register an instance. |
public List<DnsRecord> getDnsRecords()
An array that contains one DnsRecord
object for each Route 53 record that you want AWS Cloud Map to
create when you register an instance.
DnsRecord
object for each Route 53 record that you want AWS Cloud
Map to create when you register an instance.public void setDnsRecords(Collection<DnsRecord> dnsRecords)
An array that contains one DnsRecord
object for each Route 53 record that you want AWS Cloud Map to
create when you register an instance.
dnsRecords
- An array that contains one DnsRecord
object for each Route 53 record that you want AWS Cloud
Map to create when you register an instance.public DnsConfigChange withDnsRecords(DnsRecord... dnsRecords)
An array that contains one DnsRecord
object for each Route 53 record that you want AWS Cloud Map 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 Route 53 record that you want AWS Cloud
Map to create when you register an instance.public DnsConfigChange withDnsRecords(Collection<DnsRecord> dnsRecords)
An array that contains one DnsRecord
object for each Route 53 record that you want AWS Cloud Map to
create when you register an instance.
dnsRecords
- An array that contains one DnsRecord
object for each Route 53 record that you want AWS Cloud
Map to create when you register an instance.public String toString()
toString
in class Object
Object.toString()
public DnsConfigChange 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.