Interface DomainValidationRecord.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DomainValidationRecord.Builder,
,DomainValidationRecord> SdkBuilder<DomainValidationRecord.Builder,
,DomainValidationRecord> SdkPojo
- Enclosing class:
DomainValidationRecord
-
Method Summary
Modifier and TypeMethodDescriptiondefault DomainValidationRecord.Builder
dnsRecordCreationState
(Consumer<DnsRecordCreationState.Builder> dnsRecordCreationState) An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.dnsRecordCreationState
(DnsRecordCreationState dnsRecordCreationState) An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.domainName
(String domainName) The domain name of the certificate validation record.default DomainValidationRecord.Builder
resourceRecord
(Consumer<ResourceRecord.Builder> resourceRecord) An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.resourceRecord
(ResourceRecord resourceRecord) An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.validationStatus
(String validationStatus) The validation status of the record.validationStatus
(CertificateDomainValidationStatus validationStatus) The validation status of the record.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
-
domainName
The domain name of the certificate validation record. For example,
example.com
orwww.example.com
.- Parameters:
domainName
- The domain name of the certificate validation record. For example,example.com
orwww.example.com
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRecord
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
- Parameters:
resourceRecord
- An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRecord
default DomainValidationRecord.Builder resourceRecord(Consumer<ResourceRecord.Builder> resourceRecord) An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
This is a convenience method that creates an instance of theResourceRecord.Builder
avoiding the need to create one manually viaResourceRecord.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceRecord(ResourceRecord)
.- Parameters:
resourceRecord
- a consumer that will call methods onResourceRecord.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dnsRecordCreationState
DomainValidationRecord.Builder dnsRecordCreationState(DnsRecordCreationState dnsRecordCreationState) An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.
- Parameters:
dnsRecordCreationState
- An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsRecordCreationState
default DomainValidationRecord.Builder dnsRecordCreationState(Consumer<DnsRecordCreationState.Builder> dnsRecordCreationState) An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.
This is a convenience method that creates an instance of theDnsRecordCreationState.Builder
avoiding the need to create one manually viaDnsRecordCreationState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todnsRecordCreationState(DnsRecordCreationState)
.- Parameters:
dnsRecordCreationState
- a consumer that will call methods onDnsRecordCreationState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validationStatus
The validation status of the record.
- Parameters:
validationStatus
- The validation status of the record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validationStatus
The validation status of the record.
- Parameters:
validationStatus
- The validation status of the record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-