Modifier and Type | Method and Description |
---|---|
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
|
PagedIterable<HostedZone> |
list()
returns all zones in order.
|
IterableWithMarker<HostedZone> |
listAt(String nextMarker)
retrieves up to 100 zones in order, starting at
nextMarker |
IterableWithMarker<HostedZone> |
listFirstPage()
retrieves up to 100 zones in order.
|
@Named(value="CreateHostedZone") NewHostedZone createWithReference(String name, String callerReference)
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
Status#PENDING
.@Named(value="CreateHostedZone") NewHostedZone createWithReferenceAndComment(String name, String callerReference, String comment)
createWithReference(String, String)
, except you can specify
a comment.@Named(value="ListHostedZones") PagedIterable<HostedZone> list()
@Named(value="ListHostedZones") IterableWithMarker<HostedZone> listFirstPage()
@Named(value="ListHostedZones") IterableWithMarker<HostedZone> listAt(String nextMarker)
nextMarker
@Named(value="GetHostedZone") @Nullable HostedZoneAndNameServers get(String zoneId)
id
- id of the zone to get information about. ex
Z1PA6795UKMFR9
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.