@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainEntry extends Object implements Serializable, Cloneable, StructuredPojo
Describes a domain recordset entry.
Constructor and Description |
---|
DomainEntry() |
Modifier and Type | Method and Description |
---|---|
DomainEntry |
addOptionsEntry(String key,
String value)
Deprecated.
|
DomainEntry |
clearOptionsEntries()
Deprecated.
|
DomainEntry |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the domain recordset entry.
|
Boolean |
getIsAlias()
When
true , specifies whether the domain entry is an alias used by the Lightsail load balancer. |
String |
getName()
The name of the domain.
|
Map<String,String> |
getOptions()
Deprecated.
|
String |
getTarget()
The target AWS name server (e.g.,
ns-111.awsdns-22.com. ). |
String |
getType()
The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger (MX), name server (NS),
start of authority (SOA), service locator (SRV), or text (TXT).
|
int |
hashCode() |
Boolean |
isAlias()
When
true , specifies whether the domain entry is an alias used by the Lightsail load balancer. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The ID of the domain recordset entry.
|
void |
setIsAlias(Boolean isAlias)
When
true , specifies whether the domain entry is an alias used by the Lightsail load balancer. |
void |
setName(String name)
The name of the domain.
|
void |
setOptions(Map<String,String> options)
Deprecated.
|
void |
setTarget(String target)
The target AWS name server (e.g.,
ns-111.awsdns-22.com. ). |
void |
setType(String type)
The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger (MX), name server (NS),
start of authority (SOA), service locator (SRV), or text (TXT).
|
String |
toString()
Returns a string representation of this object.
|
DomainEntry |
withId(String id)
The ID of the domain recordset entry.
|
DomainEntry |
withIsAlias(Boolean isAlias)
When
true , specifies whether the domain entry is an alias used by the Lightsail load balancer. |
DomainEntry |
withName(String name)
The name of the domain.
|
DomainEntry |
withOptions(Map<String,String> options)
Deprecated.
|
DomainEntry |
withTarget(String target)
The target AWS name server (e.g.,
ns-111.awsdns-22.com. ). |
DomainEntry |
withType(String type)
The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger (MX), name server (NS),
start of authority (SOA), service locator (SRV), or text (TXT).
|
public void setId(String id)
The ID of the domain recordset entry.
id
- The ID of the domain recordset entry.public String getId()
The ID of the domain recordset entry.
public DomainEntry withId(String id)
The ID of the domain recordset entry.
id
- The ID of the domain recordset entry.public void setName(String name)
The name of the domain.
name
- The name of the domain.public String getName()
The name of the domain.
public DomainEntry withName(String name)
The name of the domain.
name
- The name of the domain.public void setTarget(String target)
The target AWS name server (e.g., ns-111.awsdns-22.com.
).
For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. Be sure to also set
isAlias
to true
when setting up an A record for a load balancer.
target
- The target AWS name server (e.g., ns-111.awsdns-22.com.
).
For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. Be sure to also set
isAlias
to true
when setting up an A record for a load balancer.
public String getTarget()
The target AWS name server (e.g., ns-111.awsdns-22.com.
).
For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. Be sure to also set
isAlias
to true
when setting up an A record for a load balancer.
ns-111.awsdns-22.com.
).
For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. Be sure to also set
isAlias
to true
when setting up an A record for a load balancer.
public DomainEntry withTarget(String target)
The target AWS name server (e.g., ns-111.awsdns-22.com.
).
For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. Be sure to also set
isAlias
to true
when setting up an A record for a load balancer.
target
- The target AWS name server (e.g., ns-111.awsdns-22.com.
).
For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. Be sure to also set
isAlias
to true
when setting up an A record for a load balancer.
public void setIsAlias(Boolean isAlias)
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer. You
can include an alias (A type) record in your request, which points to a load balancer DNS name and routes traffic
to your load balancer
isAlias
- When true
, specifies whether the domain entry is an alias used by the Lightsail load
balancer. You can include an alias (A type) record in your request, which points to a load balancer DNS
name and routes traffic to your load balancerpublic Boolean getIsAlias()
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer. You
can include an alias (A type) record in your request, which points to a load balancer DNS name and routes traffic
to your load balancer
true
, specifies whether the domain entry is an alias used by the Lightsail load
balancer. You can include an alias (A type) record in your request, which points to a load balancer DNS
name and routes traffic to your load balancerpublic DomainEntry withIsAlias(Boolean isAlias)
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer. You
can include an alias (A type) record in your request, which points to a load balancer DNS name and routes traffic
to your load balancer
isAlias
- When true
, specifies whether the domain entry is an alias used by the Lightsail load
balancer. You can include an alias (A type) record in your request, which points to a load balancer DNS
name and routes traffic to your load balancerpublic Boolean isAlias()
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer. You
can include an alias (A type) record in your request, which points to a load balancer DNS name and routes traffic
to your load balancer
true
, specifies whether the domain entry is an alias used by the Lightsail load
balancer. You can include an alias (A type) record in your request, which points to a load balancer DNS
name and routes traffic to your load balancerpublic void setType(String type)
The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).
The following domain entry types can be used:
A
CNAME
MX
NS
SOA
SRV
TXT
type
- The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger (MX), name server
(NS), start of authority (SOA), service locator (SRV), or text (TXT).
The following domain entry types can be used:
A
CNAME
MX
NS
SOA
SRV
TXT
public String getType()
The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).
The following domain entry types can be used:
A
CNAME
MX
NS
SOA
SRV
TXT
The following domain entry types can be used:
A
CNAME
MX
NS
SOA
SRV
TXT
public DomainEntry withType(String type)
The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).
The following domain entry types can be used:
A
CNAME
MX
NS
SOA
SRV
TXT
type
- The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger (MX), name server
(NS), start of authority (SOA), service locator (SRV), or text (TXT).
The following domain entry types can be used:
A
CNAME
MX
NS
SOA
SRV
TXT
@Deprecated public Map<String,String> getOptions()
(Deprecated) The options for the domain entry.
In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated.
In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated.
@Deprecated public void setOptions(Map<String,String> options)
(Deprecated) The options for the domain entry.
In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated.
options
- (Deprecated) The options for the domain entry. In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated.
@Deprecated public DomainEntry withOptions(Map<String,String> options)
(Deprecated) The options for the domain entry.
In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated.
options
- (Deprecated) The options for the domain entry. In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated.
@Deprecated public DomainEntry addOptionsEntry(String key, String value)
@Deprecated public DomainEntry clearOptionsEntries()
public String toString()
toString
in class Object
Object.toString()
public DomainEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.