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 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceRecordSet.Builder
builder()
boolean
equals(Object obj)
com.google.common.base.Optional<ResourceRecordSet.AliasTarget>
getAliasTarget()
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()
-
-
-
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()
isA
orAAAA
andgetAliasTarget()
is present.
-
getAliasTarget
public com.google.common.base.Optional<ResourceRecordSet.AliasTarget> getAliasTarget()
When present,getType()
isA
orAAAA
. 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()
-
-