Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.route53.model
Class ResourceRecordSet

java.lang.Object
  extended by com.amazonaws.services.route53.model.ResourceRecordSet
All Implemented Interfaces:
Serializable

public class ResourceRecordSet
extends Object
implements Serializable

A complex type that contains information about the current resource record set.

See Also:
Serialized Form

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

ResourceRecordSet

public ResourceRecordSet()
Default constructor for a new ResourceRecordSet object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


ResourceRecordSet

public ResourceRecordSet(String name,
                         String type)
Constructs a new ResourceRecordSet object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
name - The domain name of the current resource record set.
type - The type of the current resource record set.

ResourceRecordSet

public ResourceRecordSet(String name,
                         RRType type)
Constructs a new ResourceRecordSet object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
name - The domain name of the current resource record set.
type - The type of the current resource record set.
Method Detail

getName

public String getName()
The domain name of the current resource record set.

Constraints:
Length: 0 - 1024

Returns:
The domain name of the current resource record set.

setName

public void setName(String name)
The domain name of the current resource record set.

Constraints:
Length: 0 - 1024

Parameters:
name - The domain name of the current resource record set.

withName

public ResourceRecordSet withName(String name)
The domain name of the current resource record set.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 1024

Parameters:
name - The domain name of the current resource record set.
Returns:
A reference to this updated object so that method calls can be chained together.

getType

public String getType()
The type of the current resource record set.

Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA

Returns:
The type of the current resource record set.
See Also:
RRType

setType

public void setType(String type)
The type of the current resource record set.

Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA

Parameters:
type - The type of the current resource record set.
See Also:
RRType

withType

public ResourceRecordSet withType(String type)
The type of the current resource record set.

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

Parameters:
type - The type of the current resource record set.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RRType

setType

public void setType(RRType type)
The type of the current resource record set.

Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA

Parameters:
type - The type of the current resource record set.
See Also:
RRType

withType

public ResourceRecordSet withType(RRType type)
The type of the current resource record set.

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

Parameters:
type - The type of the current resource record set.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RRType

getSetIdentifier

public 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.

Constraints:
Length: 1 - 128

Returns:
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.

setSetIdentifier

public 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.

Constraints:
Length: 1 - 128

Parameters:
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.

withSetIdentifier

public 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getWeight

public 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.

Constraints:
Range: 0 - 255

Returns:
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.

setWeight

public 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.

Constraints:
Range: 0 - 255

Parameters:
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.

withWeight

public 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 0 - 255

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getRegion

public 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.

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

Returns:
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.
See Also:
ResourceRecordSetRegion

setRegion

public 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.

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

Parameters:
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.
See Also:
ResourceRecordSetRegion

withRegion

public 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.

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

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ResourceRecordSetRegion

setRegion

public 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.

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

Parameters:
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.
See Also:
ResourceRecordSetRegion

withRegion

public 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.

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

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ResourceRecordSetRegion

getFailover

public 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. 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

Constraints:
Allowed Values: PRIMARY, SECONDARY

Returns:
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

See Also:
ResourceRecordSetFailover

setFailover

public 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. 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

Constraints:
Allowed Values: PRIMARY, SECONDARY

Parameters:
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

See Also:
ResourceRecordSetFailover

withFailover

public 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. 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

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: PRIMARY, SECONDARY

Parameters:
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

Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ResourceRecordSetFailover

setFailover

public 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. 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

Constraints:
Allowed Values: PRIMARY, SECONDARY

Parameters:
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

See Also:
ResourceRecordSetFailover

withFailover

public 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. 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

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: PRIMARY, SECONDARY

Parameters:
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

Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ResourceRecordSetFailover

getTTL

public Long getTTL()
The cache time to live for the current resource record set.

Constraints:
Range: 0 - 2147483647

Returns:
The cache time to live for the current resource record set.

setTTL

public void setTTL(Long tTL)
The cache time to live for the current resource record set.

Constraints:
Range: 0 - 2147483647

Parameters:
tTL - The cache time to live for the current resource record set.

withTTL

public ResourceRecordSet withTTL(Long tTL)
The cache time to live for the current resource record set.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 0 - 2147483647

Parameters:
tTL - The cache time to live for the current resource record set.
Returns:
A reference to this updated object so that method calls can be chained together.

getResourceRecords

public List<ResourceRecord> getResourceRecords()
A complex type that contains the resource records for the current resource record set.

Constraints:
Length: 1 -

Returns:
A complex type that contains the resource records for the current resource record set.

setResourceRecords

public void setResourceRecords(Collection<ResourceRecord> resourceRecords)
A complex type that contains the resource records for the current resource record set.

Constraints:
Length: 1 -

Parameters:
resourceRecords - A complex type that contains the resource records for the current resource record set.

withResourceRecords

public ResourceRecordSet withResourceRecords(ResourceRecord... resourceRecords)
A complex type that contains the resource records for the current resource record set.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 -

Parameters:
resourceRecords - A complex type that contains the resource records for the current resource record set.
Returns:
A reference to this updated object so that method calls can be chained together.

withResourceRecords

public ResourceRecordSet withResourceRecords(Collection<ResourceRecord> resourceRecords)
A complex type that contains the resource records for the current resource record set.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 -

Parameters:
resourceRecords - A complex type that contains the resource records for the current resource record set.
Returns:
A reference to this updated object so that method calls can be chained together.

getAliasTarget

public AliasTarget getAliasTarget()
Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic.

Returns:
Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic.

setAliasTarget

public void setAliasTarget(AliasTarget aliasTarget)
Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic.

Parameters:
aliasTarget - Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic.

withAliasTarget

public ResourceRecordSet withAliasTarget(AliasTarget aliasTarget)
Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic.

Returns a reference to this object so that method calls can be chained together.

Parameters:
aliasTarget - Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic.
Returns:
A reference to this updated object so that method calls can be chained together.

getHealthCheckId

public 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.

Constraints:
Length: 0 - 64

Returns:
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.

setHealthCheckId

public 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.

Constraints:
Length: 0 - 64

Parameters:
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.

withHealthCheckId

public 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 64

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.