public static final class ResourceRecord.Builder extends Object
Constructor and Description |
---|
ResourceRecord.Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceRecord |
build() |
ResourceRecord.Builder |
from(ResourceRecord in) |
ResourceRecord.Builder |
name(String dName) |
ResourceRecord.Builder |
rdata(Iterable<?> infoValues) |
ResourceRecord.Builder |
rdata(Object infoValue) |
ResourceRecord.Builder |
ttl(int ttl) |
ResourceRecord.Builder |
ttl(com.google.common.primitives.UnsignedInteger ttl) |
ResourceRecord.Builder |
type(int type) |
ResourceRecord.Builder |
type(String type)
|
ResourceRecord.Builder |
type(com.google.common.primitives.UnsignedInteger type) |
public ResourceRecord.Builder name(String dName)
ResourceRecord.getName()
public ResourceRecord.Builder type(String type) throws IllegalArgumentException
IllegalArgumentException
- if the type value is not present in
ResourceTypeToValue
,ResourceRecord.getType()
public ResourceRecord.Builder type(com.google.common.primitives.UnsignedInteger type)
ResourceRecord.getType()
public ResourceRecord.Builder type(int type)
ResourceRecord.getType()
public ResourceRecord.Builder ttl(com.google.common.primitives.UnsignedInteger ttl)
ResourceRecord.getTTL()
public ResourceRecord.Builder ttl(int ttl)
ResourceRecord.getTTL()
public ResourceRecord.Builder rdata(Object infoValue)
ResourceRecord.getRData()
public ResourceRecord.Builder rdata(Iterable<?> infoValues)
ResourceRecord.getRData()
public ResourceRecord build()
public ResourceRecord.Builder from(ResourceRecord in)
Copyright © 2009-2013 jclouds. All Rights Reserved.