Class CreateSubdomain.Builder
- java.lang.Object
-
- org.jclouds.rackspace.clouddns.v1.domain.CreateSubdomain.Builder
-
- Enclosing class:
- CreateSubdomain
public static class CreateSubdomain.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSubdomainbuild()CreateSubdomain.Buildercomment(String comment)If included, its length must be less than or equal to 160 characters.CreateSubdomain.Builderemail(String email)Email address to use for contacting the domain administrator.CreateSubdomain.Builderfrom(CreateSubdomain in)CreateSubdomain.Buildername(String name)The name for the subdomain.CreateSubdomain.Builderttl(Integer ttl)The duration in seconds that the record may be cached.
-
-
-
Method Detail
-
name
public CreateSubdomain.Builder name(String name)
The name for the subdomain. Must be a fully qualified domain name (FQDN) that doesn't end in a '.'.
-
email
public CreateSubdomain.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 CreateSubdomain.Builder ttl(Integer ttl)
The duration in seconds that the record may be cached. If specified, must be greater than 300. The default value, if not specified, is 3600.
-
comment
public CreateSubdomain.Builder comment(String comment)
If included, its length must be less than or equal to 160 characters.
-
build
public CreateSubdomain build()
-
from
public CreateSubdomain.Builder from(CreateSubdomain in)
-
-