| Modifier and Type | Method and Description |
|---|---|
String |
create(ResourceRecord toCreate)
creates a resource record in the zone.
|
void |
delete(String guid)
deletes a specific resource record
|
com.google.common.collect.FluentIterable<ResourceRecordDetail> |
list()
Returns all the specified record types in the zone.
|
com.google.common.collect.FluentIterable<ResourceRecordDetail> |
listByName(String hostName)
Returns all the specified record types in the zone with the fully
qualified
hostName |
com.google.common.collect.FluentIterable<ResourceRecordDetail> |
listByNameAndType(String hostName,
int rrType)
Returns all the specified record types in the zone with the fully
qualified
hostName and rrType |
void |
update(String guid,
ResourceRecord toCreate)
updates an existing resource record in the zone.
|
@Named(value="createResourceRecord") String create(ResourceRecord toCreate) throws UltraDNSWSExceptions.ResourceAlreadyExistsException
toCreate - the new record to create.guid of the new recordUltraDNSWSExceptions.ResourceAlreadyExistsException - if a record already exists with the same attrs@Named(value="updateResourceRecord") void update(String guid, ResourceRecord toCreate) throws ResourceNotFoundException
guid - the global unique identifier for the resource record ResourceRecordMetadata#getGuid()updated - the record to update.ResourceNotFoundException - if the guid doesn't exist@Named(value="getResourceRecordsOfZone") com.google.common.collect.FluentIterable<ResourceRecordDetail> list() throws ResourceNotFoundException
ResourceNotFoundException - if the zone doesn't exist@Named(value="getResourceRecordsOfDNameByType") com.google.common.collect.FluentIterable<ResourceRecordDetail> listByName(String hostName) throws ResourceNotFoundException
hostNamehostName - fully qualified hostname including the trailing dot.ResourceNotFoundException - if the zone doesn't exist@Named(value="getResourceRecordsOfDNameByType") com.google.common.collect.FluentIterable<ResourceRecordDetail> listByNameAndType(String hostName, int rrType) throws ResourceNotFoundException
hostName and rrTypehostName - fully qualified hostname including the trailing dot.rrType - type value (ex. for A, this is 1ResourceNotFoundException - if the zone doesn't exist@Named(value="deleteResourceRecord") void delete(String guid)
guid - the global unique identifier for the resource record ResourceRecordMetadata#getGuid()Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.