public class ResourceRecordSet extends Object
Modifier and Type | Class and 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
|
Modifier and Type | Field and Description |
---|---|
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 |
Modifier and Type | Method and 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() |
protected final String name
protected final String type
protected final com.google.common.base.Optional<Integer> ttl
protected final com.google.common.base.Optional<ResourceRecordSet.AliasTarget> aliasTarget
public String getName()
public String getType()
public com.google.common.base.Optional<Integer> getTTL()
public List<String> getValues()
getType()
is A
or AAAA
and
getAliasTarget()
is present.public com.google.common.base.Optional<ResourceRecordSet.AliasTarget> getAliasTarget()
getType()
is A
or AAAA
.
Instead of getValues()
containing the corresponding IP addresses,
the server will follow this link and resolve one on-demand.public static ResourceRecordSet.Builder builder()
public ResourceRecordSet.Builder toBuilder()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.