@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,
Lightsail container service, Lightsail content delivery network (CDN) distribution, or another Amazon Web
Services resource. |
String |
getName()
The name of the domain.
|
Map<String,String> |
getOptions()
Deprecated.
|
String |
getTarget()
The target IP address (
192.0.2.0 ), or AWS name server (ns-111.awsdns-22.com. ). |
String |
getType()
The type of domain entry, such as address for IPv4 (A), address for IPv6 (AAAA), 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,
Lightsail container service, Lightsail content delivery network (CDN) distribution, or another Amazon Web
Services resource. |
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,
Lightsail container service, Lightsail content delivery network (CDN) distribution, or another Amazon Web
Services resource. |
void |
setName(String name)
The name of the domain.
|
void |
setOptions(Map<String,String> options)
Deprecated.
|
void |
setTarget(String target)
The target IP address (
192.0.2.0 ), or AWS name server (ns-111.awsdns-22.com. ). |
void |
setType(String type)
The type of domain entry, such as address for IPv4 (A), address for IPv6 (AAAA), 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,
Lightsail container service, Lightsail content delivery network (CDN) distribution, or another Amazon Web
Services resource. |
DomainEntry |
withName(String name)
The name of the domain.
|
DomainEntry |
withOptions(Map<String,String> options)
Deprecated.
|
DomainEntry |
withTarget(String target)
The target IP address (
192.0.2.0 ), or AWS name server (ns-111.awsdns-22.com. ). |
DomainEntry |
withType(String type)
The type of domain entry, such as address for IPv4 (A), address for IPv6 (AAAA), 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 IP address (192.0.2.0
), or AWS name server (ns-111.awsdns-22.com.
).
For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. For Lightsail distributions,
the value looks like exampled1182ne.cloudfront.net
. For Lightsail container services, the value
looks like container-service-1.example23scljs.us-west-2.cs.amazonlightsail.com
. Be sure to also set
isAlias
to true
when setting up an A record for a Lightsail load balancer,
distribution, or container service.
target
- The target IP address (192.0.2.0
), or AWS name server (ns-111.awsdns-22.com.
).
For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. For Lightsail
distributions, the value looks like exampled1182ne.cloudfront.net
. For Lightsail container
services, the value looks like
container-service-1.example23scljs.us-west-2.cs.amazonlightsail.com
. Be sure to also set
isAlias
to true
when setting up an A record for a Lightsail load balancer,
distribution, or container service.
public String getTarget()
The target IP address (192.0.2.0
), or AWS name server (ns-111.awsdns-22.com.
).
For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. For Lightsail distributions,
the value looks like exampled1182ne.cloudfront.net
. For Lightsail container services, the value
looks like container-service-1.example23scljs.us-west-2.cs.amazonlightsail.com
. Be sure to also set
isAlias
to true
when setting up an A record for a Lightsail load balancer,
distribution, or container service.
192.0.2.0
), or AWS name server (ns-111.awsdns-22.com.
).
For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. For Lightsail
distributions, the value looks like exampled1182ne.cloudfront.net
. For Lightsail container
services, the value looks like
container-service-1.example23scljs.us-west-2.cs.amazonlightsail.com
. Be sure to also set
isAlias
to true
when setting up an A record for a Lightsail load balancer,
distribution, or container service.
public DomainEntry withTarget(String target)
The target IP address (192.0.2.0
), or AWS name server (ns-111.awsdns-22.com.
).
For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. For Lightsail distributions,
the value looks like exampled1182ne.cloudfront.net
. For Lightsail container services, the value
looks like container-service-1.example23scljs.us-west-2.cs.amazonlightsail.com
. Be sure to also set
isAlias
to true
when setting up an A record for a Lightsail load balancer,
distribution, or container service.
target
- The target IP address (192.0.2.0
), or AWS name server (ns-111.awsdns-22.com.
).
For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. For Lightsail
distributions, the value looks like exampled1182ne.cloudfront.net
. For Lightsail container
services, the value looks like
container-service-1.example23scljs.us-west-2.cs.amazonlightsail.com
. Be sure to also set
isAlias
to true
when setting up an A record for a Lightsail load balancer,
distribution, or container service.
public void setIsAlias(Boolean isAlias)
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer,
Lightsail container service, Lightsail content delivery network (CDN) distribution, or another Amazon Web
Services resource. You can include an alias (A type) record in your request, which points to the DNS name of a
load balancer, container service, CDN distribution, or other Amazon Web Services resource and routes traffic to
that resource.
isAlias
- When true
, specifies whether the domain entry is an alias used by the Lightsail load
balancer, Lightsail container service, Lightsail content delivery network (CDN) distribution, or another
Amazon Web Services resource. You can include an alias (A type) record in your request, which points to
the DNS name of a load balancer, container service, CDN distribution, or other Amazon Web Services
resource and routes traffic to that resource.public Boolean getIsAlias()
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer,
Lightsail container service, Lightsail content delivery network (CDN) distribution, or another Amazon Web
Services resource. You can include an alias (A type) record in your request, which points to the DNS name of a
load balancer, container service, CDN distribution, or other Amazon Web Services resource and routes traffic to
that resource.
true
, specifies whether the domain entry is an alias used by the Lightsail load
balancer, Lightsail container service, Lightsail content delivery network (CDN) distribution, or another
Amazon Web Services resource. You can include an alias (A type) record in your request, which points to
the DNS name of a load balancer, container service, CDN distribution, or other Amazon Web Services
resource and routes traffic to that resource.public DomainEntry withIsAlias(Boolean isAlias)
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer,
Lightsail container service, Lightsail content delivery network (CDN) distribution, or another Amazon Web
Services resource. You can include an alias (A type) record in your request, which points to the DNS name of a
load balancer, container service, CDN distribution, or other Amazon Web Services resource and routes traffic to
that resource.
isAlias
- When true
, specifies whether the domain entry is an alias used by the Lightsail load
balancer, Lightsail container service, Lightsail content delivery network (CDN) distribution, or another
Amazon Web Services resource. You can include an alias (A type) record in your request, which points to
the DNS name of a load balancer, container service, CDN distribution, or other Amazon Web Services
resource and routes traffic to that resource.public Boolean isAlias()
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer,
Lightsail container service, Lightsail content delivery network (CDN) distribution, or another Amazon Web
Services resource. You can include an alias (A type) record in your request, which points to the DNS name of a
load balancer, container service, CDN distribution, or other Amazon Web Services resource and routes traffic to
that resource.
true
, specifies whether the domain entry is an alias used by the Lightsail load
balancer, Lightsail container service, Lightsail content delivery network (CDN) distribution, or another
Amazon Web Services resource. You can include an alias (A type) record in your request, which points to
the DNS name of a load balancer, container service, CDN distribution, or other Amazon Web Services
resource and routes traffic to that resource.public void setType(String type)
The type of domain entry, such as address for IPv4 (A), address for IPv6 (AAAA), 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
AAAA
CNAME
MX
NS
SOA
SRV
TXT
type
- The type of domain entry, such as address for IPv4 (A), address for IPv6 (AAAA), 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
AAAA
CNAME
MX
NS
SOA
SRV
TXT
public String getType()
The type of domain entry, such as address for IPv4 (A), address for IPv6 (AAAA), 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
AAAA
CNAME
MX
NS
SOA
SRV
TXT
The following domain entry types can be used:
A
AAAA
CNAME
MX
NS
SOA
SRV
TXT
public DomainEntry withType(String type)
The type of domain entry, such as address for IPv4 (A), address for IPv6 (AAAA), 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
AAAA
CNAME
MX
NS
SOA
SRV
TXT
type
- The type of domain entry, such as address for IPv4 (A), address for IPv6 (AAAA), 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
AAAA
CNAME
MX
NS
SOA
SRV
TXT
@Deprecated public Map<String,String> getOptions()
(Discontinued) 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 discontinued.
In releases prior to November 29, 2017, this parameter was not included in the API response. It is now discontinued.
@Deprecated public void setOptions(Map<String,String> options)
(Discontinued) 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 discontinued.
options
- (Discontinued) 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 discontinued.
@Deprecated public DomainEntry withOptions(Map<String,String> options)
(Discontinued) 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 discontinued.
options
- (Discontinued) 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 discontinued.
@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.