org.jclouds.route53.domain
Class ResourceRecordSet

java.lang.Object
  extended by org.jclouds.route53.domain.ResourceRecordSet
Direct Known Subclasses:
ResourceRecordSet.RecordSubset

public class ResourceRecordSet
extends Object


Nested Class Summary
static class ResourceRecordSet.AliasTarget
          In this case, the rrs is an alias, and it points to another Route53 hosted resource, such as an ELB, S3 bucket, or zone.
static class ResourceRecordSet.Builder
           
static class ResourceRecordSet.RecordSubset
          A portion of a RRs who share the same name and type
 
Field Summary
protected  com.google.common.base.Optional<ResourceRecordSet.AliasTarget> aliasTarget
           
protected  String name
           
protected  com.google.common.base.Optional<Integer> ttl
           
protected  String type
           
protected  List<String> values
           
 
Method Summary
static ResourceRecordSet.Builder builder()
           
 boolean equals(Object obj)
           
 com.google.common.base.Optional<ResourceRecordSet.AliasTarget> getAliasTarget()
          When present, getType() is A or AAAA.
 String getName()
          The name of the domain.
 com.google.common.base.Optional<Integer> getTTL()
          Present in all resource record sets except aliases.
 String getType()
          The resource record set type.
 List<String> getValues()
          Type-specific values that differentiates the RRs in this set.
 int hashCode()
           
 ResourceRecordSet.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final String name

type

protected final String type

ttl

protected final com.google.common.base.Optional<Integer> ttl

values

protected final List<String> values

aliasTarget

protected final com.google.common.base.Optional<ResourceRecordSet.AliasTarget> aliasTarget
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 if getType() is A or AAAA and getAliasTarget() is present.


getAliasTarget

public com.google.common.base.Optional<ResourceRecordSet.AliasTarget> getAliasTarget()
When present, getType() is A or AAAA. Instead of getValues() containing the corresponding IP addresses, the server will follow this link and resolve one on-demand.


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

builder

public static ResourceRecordSet.Builder builder()

toBuilder

public ResourceRecordSet.Builder toBuilder()


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