Class CreateDomain.Builder
- java.lang.Object
-
- org.jclouds.rackspace.clouddns.v1.domain.CreateDomain.Builder
-
- Enclosing class:
- CreateDomain
public static class CreateDomain.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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)
-
-