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
.
Constructor and Description |
---|
AliasTarget()
Default constructor for a new AliasTarget object.
|
AliasTarget(String hostedZoneId,
String dNSName)
Constructs a new AliasTarget object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public AliasTarget()
public AliasTarget(String hostedZoneId, String dNSName)
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.
public String getHostedZoneId()
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide.
Constraints:
Length: 0 - 32
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide.
public void setHostedZoneId(String hostedZoneId)
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide.
Constraints:
Length: 0 - 32
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.
public AliasTarget withHostedZoneId(String hostedZoneId)
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
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.
public String getDNSName()
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide.
Constraints:
Length: 0 - 1024
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide.
public void setDNSName(String dNSName)
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide.
Constraints:
Length: 0 - 1024
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.
public AliasTarget withDNSName(String dNSName)
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
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.
public Boolean isEvaluateTargetHealth()
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide.
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide.
public void setEvaluateTargetHealth(Boolean evaluateTargetHealth)
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide.
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.
public AliasTarget withEvaluateTargetHealth(Boolean evaluateTargetHealth)
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.
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.
public Boolean getEvaluateTargetHealth()
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide.
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.