|
Did this page help you?Yes No Tell us about it... |
||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
AliasTarget |
getAliasTarget()
Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic. |
String |
getFailover()
Failover resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that indicates whether the current resource record set is a primary or secondary resource record set. |
String |
getHealthCheckId()
Health Check resource record sets only, not required for alias resource record sets: An identifier that is used to identify health check associated with the resource record set. |
String |
getName()
The domain name of the current resource record set. |
String |
getRegion()
Regional resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that specifies the AWS region for 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, Regional, and Failover 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. |
int |
hashCode()
|
void |
setAliasTarget(AliasTarget aliasTarget)
Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic. |
void |
setFailover(ResourceRecordSetFailover failover)
Failover resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that indicates whether the current resource record set is a primary or secondary resource record set. |
void |
setFailover(String failover)
Failover resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that indicates whether the current resource record set is a primary or secondary resource record set. |
void |
setHealthCheckId(String healthCheckId)
Health Check resource record sets only, not required for alias resource record sets: An identifier that is used to identify health check associated with the resource record set. |
void |
setName(String name)
The domain name of the current resource record set. |
void |
setRegion(ResourceRecordSetRegion region)
Regional resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that specifies the AWS region for the current resource record set. |
void |
setRegion(String region)
Regional resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that specifies the AWS region for 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, Regional, and Failover 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 AWS resource to which you are redirecting traffic. |
ResourceRecordSet |
withFailover(ResourceRecordSetFailover failover)
Failover resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that indicates whether the current resource record set is a primary or secondary resource record set. |
ResourceRecordSet |
withFailover(String failover)
Failover resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that indicates whether the current resource record set is a primary or secondary resource record set. |
ResourceRecordSet |
withHealthCheckId(String healthCheckId)
Health Check resource record sets only, not required for alias resource record sets: An identifier that is used to identify health check associated with the resource record set. |
ResourceRecordSet |
withName(String name)
The domain name of the current resource record set. |
ResourceRecordSet |
withRegion(ResourceRecordSetRegion region)
Regional resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that specifies the AWS region for the current resource record set. |
ResourceRecordSet |
withRegion(String region)
Regional resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that specifies the AWS region for 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, Regional, and Failover 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 |
---|
getClass, 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, Regional, and Failover 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, Regional, and Failover 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 String getRegion()
Constraints:
Length: 1 - 64
Allowed Values: us-east-1, us-west-1, us-west-2, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, sa-east-1
ResourceRecordSetRegion
public void setRegion(String region)
Constraints:
Length: 1 - 64
Allowed Values: us-east-1, us-west-1, us-west-2, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, sa-east-1
region
- Regional resource record sets only: Among resource record sets
that have the same combination of DNS name and type, a value that
specifies the AWS region for the current resource record set.ResourceRecordSetRegion
public ResourceRecordSet withRegion(String region)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Allowed Values: us-east-1, us-west-1, us-west-2, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, sa-east-1
region
- Regional resource record sets only: Among resource record sets
that have the same combination of DNS name and type, a value that
specifies the AWS region for the current resource record set.
ResourceRecordSetRegion
public void setRegion(ResourceRecordSetRegion region)
Constraints:
Length: 1 - 64
Allowed Values: us-east-1, us-west-1, us-west-2, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, sa-east-1
region
- Regional resource record sets only: Among resource record sets
that have the same combination of DNS name and type, a value that
specifies the AWS region for the current resource record set.ResourceRecordSetRegion
public ResourceRecordSet withRegion(ResourceRecordSetRegion region)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Allowed Values: us-east-1, us-west-1, us-west-2, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, sa-east-1
region
- Regional resource record sets only: Among resource record sets
that have the same combination of DNS name and type, a value that
specifies the AWS region for the current resource record set.
ResourceRecordSetRegion
public String getFailover()
Valid values: PRIMARY
|
SECONDARY
Constraints:
Allowed Values: PRIMARY, SECONDARY
Valid values: PRIMARY
|
SECONDARY
ResourceRecordSetFailover
public void setFailover(String failover)
Valid values: PRIMARY
|
SECONDARY
Constraints:
Allowed Values: PRIMARY, SECONDARY
failover
- Failover resource record sets only: Among resource record sets
that have the same combination of DNS name and type, a value that
indicates whether the current resource record set is a primary or
secondary resource record set. A failover set may contain at most one
resource record set marked as primary and one resource record set
marked as secondary. A resource record set marked as primary will be
returned if any of the following are true: (1) an associated health
check is passing, (2) if the resource record set is an alias with the
evaluate target health and at least one target resource record set is
healthy, (3) both the primary and secondary resource record set are
failing health checks or (4) there is no secondary resource record
set. A secondary resource record set will be returned if: (1) the
primary is failing a health check and either the secondary is passing
a health check or has no associated health check, or (2) there is no
primary resource record set. Valid values: PRIMARY
|
SECONDARY
ResourceRecordSetFailover
public ResourceRecordSet withFailover(String failover)
Valid values: PRIMARY
|
SECONDARY
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PRIMARY, SECONDARY
failover
- Failover resource record sets only: Among resource record sets
that have the same combination of DNS name and type, a value that
indicates whether the current resource record set is a primary or
secondary resource record set. A failover set may contain at most one
resource record set marked as primary and one resource record set
marked as secondary. A resource record set marked as primary will be
returned if any of the following are true: (1) an associated health
check is passing, (2) if the resource record set is an alias with the
evaluate target health and at least one target resource record set is
healthy, (3) both the primary and secondary resource record set are
failing health checks or (4) there is no secondary resource record
set. A secondary resource record set will be returned if: (1) the
primary is failing a health check and either the secondary is passing
a health check or has no associated health check, or (2) there is no
primary resource record set. Valid values: PRIMARY
|
SECONDARY
ResourceRecordSetFailover
public void setFailover(ResourceRecordSetFailover failover)
Valid values: PRIMARY
|
SECONDARY
Constraints:
Allowed Values: PRIMARY, SECONDARY
failover
- Failover resource record sets only: Among resource record sets
that have the same combination of DNS name and type, a value that
indicates whether the current resource record set is a primary or
secondary resource record set. A failover set may contain at most one
resource record set marked as primary and one resource record set
marked as secondary. A resource record set marked as primary will be
returned if any of the following are true: (1) an associated health
check is passing, (2) if the resource record set is an alias with the
evaluate target health and at least one target resource record set is
healthy, (3) both the primary and secondary resource record set are
failing health checks or (4) there is no secondary resource record
set. A secondary resource record set will be returned if: (1) the
primary is failing a health check and either the secondary is passing
a health check or has no associated health check, or (2) there is no
primary resource record set. Valid values: PRIMARY
|
SECONDARY
ResourceRecordSetFailover
public ResourceRecordSet withFailover(ResourceRecordSetFailover failover)
Valid values: PRIMARY
|
SECONDARY
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PRIMARY, SECONDARY
failover
- Failover resource record sets only: Among resource record sets
that have the same combination of DNS name and type, a value that
indicates whether the current resource record set is a primary or
secondary resource record set. A failover set may contain at most one
resource record set marked as primary and one resource record set
marked as secondary. A resource record set marked as primary will be
returned if any of the following are true: (1) an associated health
check is passing, (2) if the resource record set is an alias with the
evaluate target health and at least one target resource record set is
healthy, (3) both the primary and secondary resource record set are
failing health checks or (4) there is no secondary resource record
set. A secondary resource record set will be returned if: (1) the
primary is failing a health check and either the secondary is passing
a health check or has no associated health check, or (2) there is no
primary resource record set. Valid values: PRIMARY
|
SECONDARY
ResourceRecordSetFailover
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 AWS
resource 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 AWS
resource to which you are redirecting traffic.
public String getHealthCheckId()
Constraints:
Length: 0 - 64
public void setHealthCheckId(String healthCheckId)
Constraints:
Length: 0 - 64
healthCheckId
- Health Check resource record sets only, not required for alias
resource record sets: An identifier that is used to identify
health check associated with the resource record set.public ResourceRecordSet withHealthCheckId(String healthCheckId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 64
healthCheckId
- Health Check resource record sets only, not required for alias
resource record sets: An identifier that is used to identify
health check associated with the resource record set.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |