Package | Description |
---|---|
com.google.cloud.dns |
A client for Cloud DNS - A highly available global DNS network.
|
Modifier and Type | Method and Description |
---|---|
RecordSet.Builder |
RecordSet.Builder.addRecord(String record)
Adds a record to the record set.
|
RecordSet.Builder |
RecordSet.Builder.clearRecords()
Removes all the records.
|
static RecordSet.Builder |
RecordSet.newBuilder(String name,
RecordSet.Type type)
Creates a
RecordSet builder for the given name and type . |
RecordSet.Builder |
RecordSet.Builder.removeRecord(String record)
Removes a record from the set.
|
RecordSet.Builder |
RecordSet.Builder.setName(String name)
Sets the name for this record set.
|
RecordSet.Builder |
RecordSet.Builder.setRecords(List<String> records)
Replaces the current records with the provided list of records.
|
RecordSet.Builder |
RecordSet.Builder.setTtl(int duration,
TimeUnit unit)
Sets the time that this record can be cached by resolvers.
|
RecordSet.Builder |
RecordSet.Builder.setType(RecordSet.Type type)
The identifier of a supported record type, for example, A, AAAA, MX, TXT, and so on.
|
RecordSet.Builder |
RecordSet.toBuilder()
Creates a builder pre-populated with the attribute values of this instance.
|
Copyright © 2019 Google LLC. All rights reserved.