public static interface DomainEntry.Builder extends SdkPojo, CopyableBuilder<DomainEntry.Builder,DomainEntry>
Modifier and Type | Method and Description |
---|---|
DomainEntry.Builder |
id(String id)
The ID of the domain recordset entry.
|
DomainEntry.Builder |
isAlias(Boolean isAlias)
When
true , specifies whether the domain entry is an alias used by the Lightsail load balancer. |
DomainEntry.Builder |
name(String name)
The name of the domain.
|
DomainEntry.Builder |
options(Map<String,String> options)
(Deprecated) The options for the domain entry.
|
DomainEntry.Builder |
target(String target)
The target AWS name server (e.g.,
ns-111.awsdns-22.com. ). |
DomainEntry.Builder |
type(String type)
The type of domain entry (e.g.,
SOA or NS ). |
copy
applyMutation, build
DomainEntry.Builder id(String id)
The ID of the domain recordset entry.
id
- The ID of the domain recordset entry.DomainEntry.Builder name(String name)
The name of the domain.
name
- The name of the domain.DomainEntry.Builder target(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.
DomainEntry.Builder isAlias(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 balancerDomainEntry.Builder type(String type)
The type of domain entry (e.g., SOA
or NS
).
type
- The type of domain entry (e.g., SOA
or NS
).DomainEntry.Builder options(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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.