Package org.jclouds.route53.features
Interface HostedZoneApi
public interface HostedZoneApi
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateWithReference(String name, String callerReference) This action creates a new hosted zone.createWithReferenceAndComment(String name, String callerReference, String comment) likecreateWithReference(String, String), except you can specify a comment.This action deletes a hosted zone.Retrieves information about the specified zone, including its nameserver configurationlist()returns all zones in order.retrieves up to 100 zones in order, starting atnextMarkerretrieves up to 100 zones in order.
-
Method Details
-
createWithReference
@Named("CreateHostedZone") @POST @Produces("application/xml") @Path("/hostedzone") 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
.
invalid reference
Status#PENDING
-
createWithReferenceAndComment
@Named("CreateHostedZone") @POST @Produces("application/xml") @Path("/hostedzone") NewHostedZone createWithReferenceAndComment(String name, String callerReference, String comment) likecreateWithReference(String, String), except you can specify a comment. -
list
returns all zones in order. -
listFirstPage
retrieves up to 100 zones in order. -
listAt
@Named("ListHostedZones") @GET @Path("/hostedzone") IterableWithMarker<HostedZone> listAt(@QueryParam("marker") String nextMarker) retrieves up to 100 zones in order, starting atnextMarker -
get
@Named("GetHostedZone") @GET @Path("/hostedzone/{zoneId}") @Nullable HostedZoneAndNameServers get(@PathParam("zoneId") String zoneId) Retrieves information about the specified zone, including its nameserver configuration- Parameters:
id- id of the zone to get information about. exZ1PA6795UKMFR9- Returns:
- null if not found
-
delete
@Named("DeleteHostedZone") @DELETE @Path("/hostedzone/{zoneId}") @Nullable Change delete(@PathParam("zoneId") String zoneId) This action deletes a hosted zone.- Parameters:
id- id of the zone to delete. exZ1PA6795UKMFR9- Returns:
- null if not found or the change in progress
-