org.jclouds.rackspace.clouddns.v1.domain
Class CreateDomain.Builder

java.lang.Object
  extended by org.jclouds.rackspace.clouddns.v1.domain.CreateDomain.Builder
Enclosing class:
CreateDomain

public static class CreateDomain.Builder
extends Object


Constructor Summary
CreateDomain.Builder()
           
 
Method Summary
 CreateDomain build()
           
 CreateDomain.Builder comment(String comment)
          If included, its length must be less than or equal to 160 characters.
 CreateDomain.Builder email(String email)
          Email address to use for contacting the domain administrator.
 CreateDomain.Builder from(CreateDomain in)
           
 CreateDomain.Builder name(String name)
          The name for the domain or subdomain.
 CreateDomain.Builder records(Iterable<Record> records)
          Create Records for this Domain.
 CreateDomain.Builder subdomains(Iterable<CreateSubdomain> subdomains)
          Create Subdomains of this Domain.
 CreateDomain.Builder ttl(Integer ttl)
          The duration in seconds that the record may be cached by clients.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateDomain.Builder

public CreateDomain.Builder()
Method Detail

name

public CreateDomain.Builder name(String name)
The name for the domain or subdomain. Must be a fully qualified domain name (FQDN) that doesn't end in a '.'.


email

public CreateDomain.Builder email(String email)
Email address to use for contacting the domain administrator. Used as the email-addr (rname) in the SOA record.


ttl

public CreateDomain.Builder ttl(Integer ttl)
The duration in seconds that the record may be cached by clients. If specified, must be greater than 300. The default value, if not specified, is 3600.


comment

public CreateDomain.Builder comment(String comment)
If included, its length must be less than or equal to 160 characters.


subdomains

public CreateDomain.Builder subdomains(Iterable<CreateSubdomain> subdomains)
Create Subdomains of this Domain.


records

public CreateDomain.Builder records(Iterable<Record> records)
Create Records for this Domain.

See Supported Record Types


build

public CreateDomain build()

from

public CreateDomain.Builder from(CreateDomain in)


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