Interface DomainEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DomainEntry.Builder,DomainEntry>,SdkBuilder<DomainEntry.Builder,DomainEntry>,SdkPojo
- Enclosing class:
- DomainEntry
public static interface DomainEntry.Builder extends SdkPojo, CopyableBuilder<DomainEntry.Builder,DomainEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DomainEntry.Builderid(String id)The ID of the domain recordset entry.DomainEntry.BuilderisAlias(Boolean isAlias)Whentrue, 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.Buildername(String name)The name of the domain.DomainEntry.Builderoptions(Map<String,String> options)Deprecated.DomainEntry.Buildertarget(String target)The target IP address (192.0.2.0), or AWS name server (ns-111.awsdns-22.com.).DomainEntry.Buildertype(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).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
DomainEntry.Builder id(String id)
The ID of the domain recordset entry.
- Parameters:
id- The ID of the domain recordset entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
DomainEntry.Builder name(String name)
The name of the domain.
- Parameters:
name- The name of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
DomainEntry.Builder target(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 likeexampled1182ne.cloudfront.net. For Lightsail container services, the value looks likecontainer-service-1.example23scljs.us-west-2.cs.amazonlightsail.com. Be sure to also setisAliastotruewhen setting up an A record for a Lightsail load balancer, distribution, or container service.- Parameters:
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 likeexampled1182ne.cloudfront.net. For Lightsail container services, the value looks likecontainer-service-1.example23scljs.us-west-2.cs.amazonlightsail.com. Be sure to also setisAliastotruewhen setting up an A record for a Lightsail load balancer, distribution, or container service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAlias
DomainEntry.Builder isAlias(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.- Parameters:
isAlias- Whentrue, 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
DomainEntry.Builder type(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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
options
@Deprecated DomainEntry.Builder options(Map<String,String> options)
Deprecated.(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-