org.jclouds.route53.features
Interface HostedZoneApi


public interface HostedZoneApi

See Also:

Method Summary
 NewHostedZone createWithReference(String name, String callerReference)
          This action creates a new hosted zone.
 NewHostedZone createWithReferenceAndComment(String name, String callerReference, String comment)
          like createWithReference(String, String), except you can specify a comment.
 Change delete(String zoneId)
          This action deletes a hosted zone.
 HostedZoneAndNameServers get(String zoneId)
          Retrieves information about the specified zone, including its nameserver configuration
 org.jclouds.collect.PagedIterable<HostedZone> list()
          returns all zones in order.
 org.jclouds.collect.IterableWithMarker<HostedZone> listAt(String nextMarker)
          retrieves up to 100 zones in order, starting at nextMarker
 org.jclouds.collect.IterableWithMarker<HostedZone> listFirstPage()
          retrieves up to 100 zones in order.
 

Method Detail

createWithReference

@Named(value="CreateHostedZone")
NewHostedZone createWithReference(String name,
                                        String callerReference)
This action creates a new hosted zone.

Note

You cannot create a hosted zone for a top-level domain (TLD).

Parameters:
name - The name of the domain. ex. www.example.com. The trailing dot is optional.
callerReference - A unique string that identifies the request and allows safe retries. ex. MyDNSMigration_01
Returns:
the new zone in progress, in Status#PENDING.

createWithReferenceAndComment

@Named(value="CreateHostedZone")
NewHostedZone createWithReferenceAndComment(String name,
                                                  String callerReference,
                                                  String comment)
like createWithReference(String, String), except you can specify a comment.


list

@Named(value="ListHostedZones")
org.jclouds.collect.PagedIterable<HostedZone> list()
returns all zones in order.


listFirstPage

@Named(value="ListHostedZones")
org.jclouds.collect.IterableWithMarker<HostedZone> listFirstPage()
retrieves up to 100 zones in order.


listAt

@Named(value="ListHostedZones")
org.jclouds.collect.IterableWithMarker<HostedZone> listAt(String nextMarker)
retrieves up to 100 zones in order, starting at nextMarker


get

@Named(value="GetHostedZone")
@Nullable
HostedZoneAndNameServers get(String zoneId)
Retrieves information about the specified zone, including its nameserver configuration

Parameters:
id - id of the zone to get information about. ex Z1PA6795UKMFR9
Returns:
null if not found

delete

@Named(value="DeleteHostedZone")
@Nullable
Change delete(String zoneId)
This action deletes a hosted zone.

Parameters:
id - id of the zone to delete. ex Z1PA6795UKMFR9
Returns:
null if not found or the change in progress


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.