Interface Domain.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Domain.Builder,
,Domain> SdkBuilder<Domain.Builder,
,Domain> SdkPojo
- Enclosing class:
Domain
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the domain recordset (arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).The date when the domain recordset was created.domainEntries
(Collection<DomainEntry> domainEntries) An array of key-value pairs containing information about the domain entries.domainEntries
(Consumer<DomainEntry.Builder>... domainEntries) An array of key-value pairs containing information about the domain entries.domainEntries
(DomainEntry... domainEntries) An array of key-value pairs containing information about the domain entries.default Domain.Builder
location
(Consumer<ResourceLocation.Builder> location) The AWS Region and Availability Zones where the domain recordset was created.location
(ResourceLocation location) The AWS Region and Availability Zones where the domain recordset was created.The name of the domain.default Domain.Builder
registeredDomainDelegationInfo
(Consumer<RegisteredDomainDelegationInfo.Builder> registeredDomainDelegationInfo) An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.registeredDomainDelegationInfo
(RegisteredDomainDelegationInfo registeredDomainDelegationInfo) An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.resourceType
(String resourceType) The resource type.resourceType
(ResourceType resourceType) The resource type.supportCode
(String supportCode) The support code.tags
(Collection<Tag> tags) The tag keys and optional values for the resource.tags
(Consumer<Tag.Builder>... tags) The tag keys and optional values for the resource.The tag keys and optional values for the resource.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 Details
-
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.
-
arn
The Amazon Resource Name (ARN) of the domain recordset (
arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).- Parameters:
arn
- The Amazon Resource Name (ARN) of the domain recordset (arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportCode
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
- Parameters:
supportCode
- The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date when the domain recordset was created.
- Parameters:
createdAt
- The date when the domain recordset was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The AWS Region and Availability Zones where the domain recordset was created.
- Parameters:
location
- The AWS Region and Availability Zones where the domain recordset was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The AWS Region and Availability Zones where the domain recordset was created.
This is a convenience method that creates an instance of theResourceLocation.Builder
avoiding the need to create one manually viaResourceLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocation(ResourceLocation)
.- Parameters:
location
- a consumer that will call methods onResourceLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The resource type.
- Parameters:
resourceType
- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The resource type.
- Parameters:
resourceType
- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
- Parameters:
tags
- The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
- Parameters:
tags
- The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainEntries
An array of key-value pairs containing information about the domain entries.
- Parameters:
domainEntries
- An array of key-value pairs containing information about the domain entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainEntries
An array of key-value pairs containing information about the domain entries.
- Parameters:
domainEntries
- An array of key-value pairs containing information about the domain entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainEntries
An array of key-value pairs containing information about the domain entries.
This is a convenience method that creates an instance of theDomainEntry.Builder
avoiding the need to create one manually viaDomainEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomainEntries(List<DomainEntry>)
.- Parameters:
domainEntries
- a consumer that will call methods onDomainEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
registeredDomainDelegationInfo
Domain.Builder registeredDomainDelegationInfo(RegisteredDomainDelegationInfo registeredDomainDelegationInfo) An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.
- Parameters:
registeredDomainDelegationInfo
- An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registeredDomainDelegationInfo
default Domain.Builder registeredDomainDelegationInfo(Consumer<RegisteredDomainDelegationInfo.Builder> registeredDomainDelegationInfo) An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.
This is a convenience method that creates an instance of theRegisteredDomainDelegationInfo.Builder
avoiding the need to create one manually viaRegisteredDomainDelegationInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toregisteredDomainDelegationInfo(RegisteredDomainDelegationInfo)
.- Parameters:
registeredDomainDelegationInfo
- a consumer that will call methods onRegisteredDomainDelegationInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-