public interface RecordApi
Modifier and Type | Method and Description |
---|---|
Job<Set<RecordDetail>> |
create(Iterable<Record> createRecords)
Create Records for a Domain or Subdomain.
|
Job<Void> |
delete(Iterable<String> recordId)
Delete the specified records in the specified domain.
|
Job<Void> |
delete(String recordId)
Delete the specified record in the specified domain.
|
RecordDetail |
get(String recordId)
Get the details for the specified record in the specified domain.
|
RecordDetail |
getByNameAndTypeAndData(String nameFilter,
String typeFilter,
String dataFilter)
RecordDetails filtered by name and type and data.
|
PagedIterable<RecordDetail> |
list()
This call lists all records configured for the specified domain.
|
PaginatedCollection<RecordDetail> |
list(PaginationOptions options)
Use PaginationOptions to manually control the list of RecordDetail pages returned.
|
PagedIterable<RecordDetail> |
listByNameAndType(String nameFilter,
String typeFilter)
RecordDetails filtered by name and type.
|
PagedIterable<RecordDetail> |
listByType(String typeFilter)
RecordDetails filtered by type.
|
PagedIterable<RecordDetail> |
listByTypeAndData(String typeFilter,
String dataFilter)
RecordDetails filtered by type and data.
|
Job<Void> |
update(Map<String,Record> idsToRecords)
Update the configuration of the specified records in the specified domain.
|
Job<Void> |
update(String recordId,
Record record)
Update the configuration of the specified record in the specified domain.
|
@Named(value="record:create") Job<Set<RecordDetail>> create(Iterable<Record> createRecords)
JobPredicates#awaitComplete(CloudDNSApi, Job)
.@Named(value="record:list") PagedIterable<RecordDetail> list()
@Named(value="record:list") PagedIterable<RecordDetail> listByType(String typeFilter)
@Named(value="record:list") PagedIterable<RecordDetail> listByTypeAndData(String typeFilter, String dataFilter)
@Named(value="record:list") PagedIterable<RecordDetail> listByNameAndType(String nameFilter, String typeFilter)
@Named(value="record:list") PaginatedCollection<RecordDetail> list(PaginationOptions options)
@Named(value="record:get") @Nullable RecordDetail getByNameAndTypeAndData(String nameFilter, String typeFilter, String dataFilter)
@Named(value="record:get") @Nullable RecordDetail get(String recordId)
@Named(value="record:update") Job<Void> update(String recordId, Record record)
JobPredicates#awaitComplete(CloudDNSApi, Job)
.@Named(value="record:update") Job<Void> update(Map<String,Record> idsToRecords)
JobPredicates#awaitComplete(CloudDNSApi, Job)
.@Named(value="record:delete") Job<Void> delete(String recordId)
JobPredicates#awaitComplete(CloudDNSApi, Job)
.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.