/** * <p> * The name of the domain. For public hosted zones, this is the name that you have registered with your DNS * registrar. * </p> * <p> * For information about how to specify characters other than <code>a-z</code>, <code>0-9</code>, and <code>-</code> * (hyphen) and how to specify internationalized domain names, see <a>CreateHostedZone</a>. * </p> * * @param name * The name of the domain. For public hosted zones, this is the name that you have registered with your DNS * registrar.</p> * <p> * For information about how to specify characters other than <code>a-z</code>, <code>0-9</code>, and * <code>-</code> (hyphen) and how to specify internationalized domain names, see <a>CreateHostedZone</a>. * @return Returns a reference to this object so that method calls can be chained together. */ public HostedZone withName(String name) { setName(name); return this; }
/** * Constructs a new HostedZone object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param id * The ID that Amazon Route 53 assigned to the hosted zone when you created it. * @param name * The name of the domain. For public hosted zones, this is the name that you have registered with your DNS * registrar.</p> * <p> * For information about how to specify characters other than <code>a-z</code>, <code>0-9</code>, and * <code>-</code> (hyphen) and how to specify internationalized domain names, see <a>CreateHostedZone</a>. * @param callerReference * The value that you specified for <code>CallerReference</code> when you created the hosted zone. */ public HostedZone(String id, String name, String callerReference) { setId(id); setName(name); setCallerReference(callerReference); }
hostedZone.setName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;