|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.route53.model.ResourceRecordSet
public class ResourceRecordSet
A complex type that contains information about the current resource record set.
Constructor Summary | |
---|---|
ResourceRecordSet()
Default constructor for a new ResourceRecordSet object. |
|
ResourceRecordSet(String name,
RRType type)
Constructs a new ResourceRecordSet object. |
|
ResourceRecordSet(String name,
String type)
Constructs a new ResourceRecordSet object. |
Method Summary | |
---|---|
AliasTarget |
getAliasTarget()
Alias resource record sets only: Information about the Elastic Load Balancing LoadBalancer to which you are redirecting traffic. |
String |
getName()
The domain name of the current resource record set. |
List<ResourceRecord> |
getResourceRecords()
A complex type that contains the resource records for the current resource record set. |
String |
getSetIdentifier()
Weighted resource record sets only: An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type. |
Long |
getTTL()
The cache time to live for the current resource record set. |
String |
getType()
The type of the current resource record set. |
Long |
getWeight()
Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines what portion of traffic for the current resource record set is routed to the associated location. |
void |
setAliasTarget(AliasTarget aliasTarget)
Alias resource record sets only: Information about the Elastic Load Balancing LoadBalancer to which you are redirecting traffic. |
void |
setName(String name)
The domain name of the current resource record set. |
void |
setResourceRecords(Collection<ResourceRecord> resourceRecords)
A complex type that contains the resource records for the current resource record set. |
void |
setSetIdentifier(String setIdentifier)
Weighted resource record sets only: An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type. |
void |
setTTL(Long tTL)
The cache time to live for the current resource record set. |
void |
setType(RRType type)
The type of the current resource record set. |
void |
setType(String type)
The type of the current resource record set. |
void |
setWeight(Long weight)
Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines what portion of traffic for the current resource record set is routed to the associated location. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ResourceRecordSet |
withAliasTarget(AliasTarget aliasTarget)
Alias resource record sets only: Information about the Elastic Load Balancing LoadBalancer to which you are redirecting traffic. |
ResourceRecordSet |
withName(String name)
The domain name of the current resource record set. |
ResourceRecordSet |
withResourceRecords(Collection<ResourceRecord> resourceRecords)
A complex type that contains the resource records for the current resource record set. |
ResourceRecordSet |
withResourceRecords(ResourceRecord... resourceRecords)
A complex type that contains the resource records for the current resource record set. |
ResourceRecordSet |
withSetIdentifier(String setIdentifier)
Weighted resource record sets only: An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type. |
ResourceRecordSet |
withTTL(Long tTL)
The cache time to live for the current resource record set. |
ResourceRecordSet |
withType(RRType type)
The type of the current resource record set. |
ResourceRecordSet |
withType(String type)
The type of the current resource record set. |
ResourceRecordSet |
withWeight(Long weight)
Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines what portion of traffic for the current resource record set is routed to the associated location. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourceRecordSet()
public ResourceRecordSet(String name, String type)
name
- The domain name of the current resource record set.type
- The type of the current resource record set.public ResourceRecordSet(String name, RRType type)
name
- The domain name of the current resource record set.type
- The type of the current resource record set.Method Detail |
---|
public String getName()
Constraints:
Length: 0 - 1024
public void setName(String name)
Constraints:
Length: 0 - 1024
name
- The domain name of the current resource record set.public ResourceRecordSet withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
name
- The domain name of the current resource record set.
public String getType()
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
RRType
public void setType(String type)
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
type
- The type of the current resource record set.RRType
public ResourceRecordSet withType(String type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
type
- The type of the current resource record set.
RRType
public void setType(RRType type)
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
type
- The type of the current resource record set.RRType
public ResourceRecordSet withType(RRType type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
type
- The type of the current resource record set.
RRType
public String getSetIdentifier()
Constraints:
Length: 1 - 128
public void setSetIdentifier(String setIdentifier)
Constraints:
Length: 1 - 128
setIdentifier
- Weighted resource record sets only: An identifier that
differentiates among multiple resource record sets that have the same
combination of DNS name and type.public ResourceRecordSet withSetIdentifier(String setIdentifier)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
setIdentifier
- Weighted resource record sets only: An identifier that
differentiates among multiple resource record sets that have the same
combination of DNS name and type.
public Long getWeight()
Constraints:
Range: 0 - 255
public void setWeight(Long weight)
Constraints:
Range: 0 - 255
weight
- Weighted resource record sets only: Among resource record sets
that have the same combination of DNS name and type, a value that
determines what portion of traffic for the current resource record set
is routed to the associated location.public ResourceRecordSet withWeight(Long weight)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 255
weight
- Weighted resource record sets only: Among resource record sets
that have the same combination of DNS name and type, a value that
determines what portion of traffic for the current resource record set
is routed to the associated location.
public Long getTTL()
Constraints:
Range: 0 - 2147483647
public void setTTL(Long tTL)
Constraints:
Range: 0 - 2147483647
tTL
- The cache time to live for the current resource record set.public ResourceRecordSet withTTL(Long tTL)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 2147483647
tTL
- The cache time to live for the current resource record set.
public List<ResourceRecord> getResourceRecords()
Constraints:
Length: 1 -
public void setResourceRecords(Collection<ResourceRecord> resourceRecords)
Constraints:
Length: 1 -
resourceRecords
- A complex type that contains the resource records for the current
resource record set.public ResourceRecordSet withResourceRecords(ResourceRecord... resourceRecords)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
resourceRecords
- A complex type that contains the resource records for the current
resource record set.
public ResourceRecordSet withResourceRecords(Collection<ResourceRecord> resourceRecords)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
resourceRecords
- A complex type that contains the resource records for the current
resource record set.
public AliasTarget getAliasTarget()
public void setAliasTarget(AliasTarget aliasTarget)
aliasTarget
- Alias resource record sets only: Information about the Elastic
Load Balancing LoadBalancer to which you are redirecting traffic.public ResourceRecordSet withAliasTarget(AliasTarget aliasTarget)
Returns a reference to this object so that method calls can be chained together.
aliasTarget
- Alias resource record sets only: Information about the Elastic
Load Balancing LoadBalancer to which you are redirecting traffic.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |