org.dasein.cloud.aws.network
Class Route53

java.lang.Object
  extended by org.dasein.cloud.aws.network.Route53
All Implemented Interfaces:
org.dasein.cloud.AccessControlledService, org.dasein.cloud.network.DNSSupport

public class Route53
extends Object
implements org.dasein.cloud.network.DNSSupport


Field Summary
 
Fields inherited from interface org.dasein.cloud.network.DNSSupport
ADD_RECORD, ANY, CREATE_ZONE, GET_ZONE, LIST_RECORD, LIST_ZONE, REMOVE_RECORD, REMOVE_ZONE
 
Method Summary
 org.dasein.cloud.network.DNSRecord addDnsRecord(String providerDnsZoneId, org.dasein.cloud.network.DNSRecordType recordType, String name, int ttl, String... values)
           
 String createDnsZone(String domainName, String name, String description)
           
 void deleteDnsRecords(org.dasein.cloud.network.DNSRecord... dnsRecords)
           
 void deleteDnsZone(String providerDnsZoneId)
           
 org.dasein.cloud.network.DNSZone getDnsZone(String providerDnsZoneId)
           
 String getProviderTermForRecord(Locale locale)
           
 String getProviderTermForZone(Locale locale)
           
 boolean isSubscribed()
           
 Iterable<org.dasein.cloud.network.DNSRecord> listDnsRecords(String providerDnsZoneId, org.dasein.cloud.network.DNSRecordType forType, String name)
           
 Iterable<org.dasein.cloud.network.DNSZone> listDnsZones()
           
 Iterable<org.dasein.cloud.ResourceStatus> listDnsZoneStatus()
           
 String[] mapServiceAction(org.dasein.cloud.identity.ServiceAction action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addDnsRecord

@Nonnull
public org.dasein.cloud.network.DNSRecord addDnsRecord(@Nonnull
                                                               String providerDnsZoneId,
                                                               @Nonnull
                                                               org.dasein.cloud.network.DNSRecordType recordType,
                                                               @Nonnull
                                                               String name,
                                                               @Nonnegative
                                                               int ttl,
                                                               @Nonnull
                                                               String... values)
                                                throws org.dasein.cloud.CloudException,
                                                       org.dasein.cloud.InternalException
Specified by:
addDnsRecord in interface org.dasein.cloud.network.DNSSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

createDnsZone

@Nonnull
public String createDnsZone(@Nonnull
                                    String domainName,
                                    @Nonnull
                                    String name,
                                    @Nonnull
                                    String description)
                     throws org.dasein.cloud.CloudException,
                            org.dasein.cloud.InternalException
Specified by:
createDnsZone in interface org.dasein.cloud.network.DNSSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

deleteDnsRecords

public void deleteDnsRecords(@Nonnull
                             org.dasein.cloud.network.DNSRecord... dnsRecords)
                      throws org.dasein.cloud.CloudException,
                             org.dasein.cloud.InternalException
Specified by:
deleteDnsRecords in interface org.dasein.cloud.network.DNSSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

deleteDnsZone

public void deleteDnsZone(@Nonnull
                          String providerDnsZoneId)
                   throws org.dasein.cloud.CloudException,
                          org.dasein.cloud.InternalException
Specified by:
deleteDnsZone in interface org.dasein.cloud.network.DNSSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getDnsZone

@Nullable
public org.dasein.cloud.network.DNSZone getDnsZone(@Nonnull
                                                            String providerDnsZoneId)
                                            throws org.dasein.cloud.CloudException,
                                                   org.dasein.cloud.InternalException
Specified by:
getDnsZone in interface org.dasein.cloud.network.DNSSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getProviderTermForRecord

@Nonnull
public String getProviderTermForRecord(@Nonnull
                                               Locale locale)
Specified by:
getProviderTermForRecord in interface org.dasein.cloud.network.DNSSupport

getProviderTermForZone

@Nonnull
public String getProviderTermForZone(@Nonnull
                                             Locale locale)
Specified by:
getProviderTermForZone in interface org.dasein.cloud.network.DNSSupport

listDnsRecords

@Nonnull
public Iterable<org.dasein.cloud.network.DNSRecord> listDnsRecords(@Nonnull
                                                                           String providerDnsZoneId,
                                                                           @Nullable
                                                                           org.dasein.cloud.network.DNSRecordType forType,
                                                                           @Nullable
                                                                           String name)
                                                            throws org.dasein.cloud.CloudException,
                                                                   org.dasein.cloud.InternalException
Specified by:
listDnsRecords in interface org.dasein.cloud.network.DNSSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listDnsZoneStatus

@Nonnull
public Iterable<org.dasein.cloud.ResourceStatus> listDnsZoneStatus()
                                                            throws org.dasein.cloud.CloudException,
                                                                   org.dasein.cloud.InternalException
Specified by:
listDnsZoneStatus in interface org.dasein.cloud.network.DNSSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listDnsZones

@Nonnull
public Iterable<org.dasein.cloud.network.DNSZone> listDnsZones()
                                                        throws org.dasein.cloud.CloudException,
                                                               org.dasein.cloud.InternalException
Specified by:
listDnsZones in interface org.dasein.cloud.network.DNSSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

mapServiceAction

@Nonnull
public String[] mapServiceAction(@Nonnull
                                         org.dasein.cloud.identity.ServiceAction action)
Specified by:
mapServiceAction in interface org.dasein.cloud.AccessControlledService

isSubscribed

public boolean isSubscribed()
                     throws org.dasein.cloud.CloudException,
                            org.dasein.cloud.InternalException
Specified by:
isSubscribed in interface org.dasein.cloud.network.DNSSupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException


Copyright © 2009-2014 Dell, Inc.. All Rights Reserved.