Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.route53.model
Class AliasTarget

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

public class AliasTarget
extends Object
implements Serializable

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

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

.

See Also:
Serialized Form

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 AWS Resource.
 Boolean getEvaluateTargetHealth()
          Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.
 String getHostedZoneId()
          Alias resource record sets only: The value of the hosted zone ID for the AWS resource.
 int hashCode()
           
 Boolean isEvaluateTargetHealth()
          Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.
 void setDNSName(String dNSName)
          Alias resource record sets only: The external DNS name associated with the AWS Resource.
 void setEvaluateTargetHealth(Boolean evaluateTargetHealth)
          Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.
 void setHostedZoneId(String hostedZoneId)
          Alias resource record sets only: The value of the hosted zone ID for the AWS resource.
 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 AWS Resource.
 AliasTarget withEvaluateTargetHealth(Boolean evaluateTargetHealth)
          Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.
 AliasTarget withHostedZoneId(String hostedZoneId)
          Alias resource record sets only: The value of the hosted zone ID for the AWS resource.
 
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 for the AWS resource.

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

dNSName - Alias resource record sets only: The external DNS name associated with the AWS Resource.

For more information and an example, see Creating Alias Resource Record Sets 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 for the AWS resource.

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

Constraints:
Length: 0 - 32

Returns:
Alias resource record sets only: The value of the hosted zone ID for the AWS resource.

For more information and an example, see Creating Alias Resource Record Sets 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 for the AWS resource.

For more information and an example, see Creating Alias Resource Record Sets 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 for the AWS resource.

For more information and an example, see Creating Alias Resource Record Sets 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 for the AWS resource.

For more information and an example, see Creating Alias Resource Record Sets 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 for the AWS resource.

For more information and an example, see Creating Alias Resource Record Sets 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 AWS Resource.

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

Constraints:
Length: 0 - 1024

Returns:
Alias resource record sets only: The external DNS name associated with the AWS Resource.

For more information and an example, see Creating Alias Resource Record Sets 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 AWS Resource.

For more information and an example, see Creating Alias Resource Record Sets 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 AWS Resource.

For more information and an example, see Creating Alias Resource Record Sets 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 AWS Resource.

For more information and an example, see Creating Alias Resource Record Sets 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 AWS Resource.

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

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

isEvaluateTargetHealth

public Boolean isEvaluateTargetHealth()
Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.

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

Returns:
Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.

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


setEvaluateTargetHealth

public void setEvaluateTargetHealth(Boolean evaluateTargetHealth)
Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.

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

Parameters:
evaluateTargetHealth - Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.

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


withEvaluateTargetHealth

public AliasTarget withEvaluateTargetHealth(Boolean evaluateTargetHealth)
Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.

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

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

Parameters:
evaluateTargetHealth - Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.

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

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

getEvaluateTargetHealth

public Boolean getEvaluateTargetHealth()
Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.

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

Returns:
Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.

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


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.