Package org.jclouds.route53.domain
Class ResourceRecordSet
- java.lang.Object
-
- org.jclouds.route53.domain.ResourceRecordSet
-
- Direct Known Subclasses:
ResourceRecordSet.RecordSubset
public class ResourceRecordSet extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceRecordSet.AliasTargetIn this case, the rrs is an alias, and it points to another Route53 hosted resource, such as an ELB, S3 bucket, or zone.static classResourceRecordSet.Builderstatic classResourceRecordSet.RecordSubsetA portion of a RRs who share the same name and type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceRecordSet.Builderbuilder()booleanequals(Object obj)com.google.common.base.Optional<ResourceRecordSet.AliasTarget>getAliasTarget()StringgetName()The name of the domain.com.google.common.base.Optional<Integer>getTTL()Present in all resource record sets except aliases.StringgetType()The resource record set type.List<String>getValues()Type-specific values that differentiates the RRs in this set.inthashCode()ResourceRecordSet.BuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
The name of the domain.
-
getType
public String getType()
The resource record set type.
-
getTTL
public com.google.common.base.Optional<Integer> getTTL()
Present in all resource record sets except aliases. The resource record cache time to live (TTL), in seconds.
-
getValues
public List<String> getValues()
Type-specific values that differentiates the RRs in this set. Empty ifgetType()isAorAAAAandgetAliasTarget()is present.
-
getAliasTarget
public com.google.common.base.Optional<ResourceRecordSet.AliasTarget> getAliasTarget()
When present,getType()isAorAAAA. Instead ofgetValues()containing the corresponding IP addresses, the server will follow this link and resolve one on-demand.
-
builder
public static ResourceRecordSet.Builder builder()
-
toBuilder
public ResourceRecordSet.Builder toBuilder()
-
-