com.amazonaws.services.route53.model
Class AliasTarget

java.lang.Object
  extended by com.amazonaws.services.route53.model.AliasTarget

public class AliasTarget
extends Object

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

NOTE:Currently, Route 53 supports aliases only for Elastic Load Balancing.

For more information and an example, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide

.


Constructor Summary
AliasTarget()
          Default constructor for a new AliasTarget object.
AliasTarget(String hostedZoneId, String dNSName)
          Constructs a new AliasTarget object.
 
Method Summary
 boolean equals(Object obj)
           
 String getDNSName()
          Alias resource record sets only: The external DNS name associated with the LoadBalancer.
 String getHostedZoneId()
          Alias resource record sets only: The value of the hosted zone ID, CanonicalHostedZoneNameId, for the LoadBalancer.
 int hashCode()
           
 void setDNSName(String dNSName)
          Alias resource record sets only: The external DNS name associated with the LoadBalancer.
 void setHostedZoneId(String hostedZoneId)
          Alias resource record sets only: The value of the hosted zone ID, CanonicalHostedZoneNameId, for the LoadBalancer.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AliasTarget withDNSName(String dNSName)
          Alias resource record sets only: The external DNS name associated with the LoadBalancer.
 AliasTarget withHostedZoneId(String hostedZoneId)
          Alias resource record sets only: The value of the hosted zone ID, CanonicalHostedZoneNameId, for the LoadBalancer.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AliasTarget

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


AliasTarget

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

Parameters:
hostedZoneId - Alias resource record sets only: The value of the hosted zone ID, CanonicalHostedZoneNameId, for the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

dNSName - Alias resource record sets only: The external DNS name associated with the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

Method Detail

getHostedZoneId

public String getHostedZoneId()
Alias resource record sets only: The value of the hosted zone ID, CanonicalHostedZoneNameId, for the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

Constraints:
Length: 0 - 32

Returns:
Alias resource record sets only: The value of the hosted zone ID, CanonicalHostedZoneNameId, for the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.


setHostedZoneId

public void setHostedZoneId(String hostedZoneId)
Alias resource record sets only: The value of the hosted zone ID, CanonicalHostedZoneNameId, for the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

Constraints:
Length: 0 - 32

Parameters:
hostedZoneId - Alias resource record sets only: The value of the hosted zone ID, CanonicalHostedZoneNameId, for the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.


withHostedZoneId

public AliasTarget withHostedZoneId(String hostedZoneId)
Alias resource record sets only: The value of the hosted zone ID, CanonicalHostedZoneNameId, for the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

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

Constraints:
Length: 0 - 32

Parameters:
hostedZoneId - Alias resource record sets only: The value of the hosted zone ID, CanonicalHostedZoneNameId, for the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

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

getDNSName

public String getDNSName()
Alias resource record sets only: The external DNS name associated with the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

Constraints:
Length: 0 - 1024

Returns:
Alias resource record sets only: The external DNS name associated with the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.


setDNSName

public void setDNSName(String dNSName)
Alias resource record sets only: The external DNS name associated with the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

Constraints:
Length: 0 - 1024

Parameters:
dNSName - Alias resource record sets only: The external DNS name associated with the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.


withDNSName

public AliasTarget withDNSName(String dNSName)
Alias resource record sets only: The external DNS name associated with the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

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

Constraints:
Length: 0 - 1024

Parameters:
dNSName - Alias resource record sets only: The external DNS name associated with the LoadBalancer. Currently, Route 53 supports alias resource record sets only for Elastic Load Balancing.

For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

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.