public static interface Domain.Builder extends SdkPojo, CopyableBuilder<Domain.Builder,Domain>
| Modifier and Type | Method and Description |
|---|---|
Domain.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE). |
Domain.Builder |
createdAt(Instant createdAt)
The date when the domain recordset was created.
|
Domain.Builder |
domainEntries(Collection<DomainEntry> domainEntries)
An array of key-value pairs containing information about the domain entries.
|
Domain.Builder |
domainEntries(Consumer<DomainEntry.Builder>... domainEntries)
An array of key-value pairs containing information about the domain entries.
|
Domain.Builder |
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.
|
Domain.Builder |
location(ResourceLocation location)
The AWS Region and Availability Zones where the domain recordset was created.
|
Domain.Builder |
name(String name)
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.
|
Domain.Builder |
registeredDomainDelegationInfo(RegisteredDomainDelegationInfo registeredDomainDelegationInfo)
An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.
|
Domain.Builder |
resourceType(ResourceType resourceType)
The resource type.
|
Domain.Builder |
resourceType(String resourceType)
The resource type.
|
Domain.Builder |
supportCode(String supportCode)
The support code.
|
Domain.Builder |
tags(Collection<Tag> tags)
The tag keys and optional values for the resource.
|
Domain.Builder |
tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values for the resource.
|
Domain.Builder |
tags(Tag... tags)
The tag keys and optional values for the resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDomain.Builder name(String name)
The name of the domain.
name - The name of the domain.Domain.Builder arn(String arn)
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).
arn - The Amazon Resource Name (ARN) of the domain recordset (e.g.,
arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).Domain.Builder supportCode(String 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.
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.Domain.Builder createdAt(Instant createdAt)
The date when the domain recordset was created.
createdAt - The date when the domain recordset was created.Domain.Builder location(ResourceLocation location)
The AWS Region and Availability Zones where the domain recordset was created.
location - The AWS Region and Availability Zones where the domain recordset was created.default Domain.Builder location(Consumer<ResourceLocation.Builder> 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 via ResourceLocation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to location(ResourceLocation).
location - a consumer that will call methods on ResourceLocation.Builderlocation(ResourceLocation)Domain.Builder resourceType(String resourceType)
The resource type.
resourceType - The resource type.ResourceType,
ResourceTypeDomain.Builder resourceType(ResourceType resourceType)
The resource type.
resourceType - The resource type.ResourceType,
ResourceTypeDomain.Builder tags(Collection<Tag> tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
tags - The tag keys and optional values for the resource. For more information about tags in Lightsail, see
the Amazon
Lightsail Developer Guide.Domain.Builder tags(Tag... tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
tags - The tag keys and optional values for the resource. For more information about tags in Lightsail, see
the Amazon
Lightsail Developer Guide.Domain.Builder tags(Consumer<Tag.Builder>... 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
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Domain.Builder domainEntries(Collection<DomainEntry> domainEntries)
An array of key-value pairs containing information about the domain entries.
domainEntries - An array of key-value pairs containing information about the domain entries.Domain.Builder domainEntries(DomainEntry... domainEntries)
An array of key-value pairs containing information about the domain entries.
domainEntries - An array of key-value pairs containing information about the domain entries.Domain.Builder domainEntries(Consumer<DomainEntry.Builder>... 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 via DomainEntry.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #domainEntries(List.
domainEntries - a consumer that will call methods on
DomainEntry.Builder#domainEntries(java.util.Collection) Domain.Builder registeredDomainDelegationInfo(RegisteredDomainDelegationInfo registeredDomainDelegationInfo)
An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.
registeredDomainDelegationInfo - An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.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 via RegisteredDomainDelegationInfo.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
registeredDomainDelegationInfo(RegisteredDomainDelegationInfo).
registeredDomainDelegationInfo - a consumer that will call methods on RegisteredDomainDelegationInfo.BuilderregisteredDomainDelegationInfo(RegisteredDomainDelegationInfo)Copyright © 2022. All rights reserved.