Interface DomainValidationRecord.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DomainValidationRecord.Builder,DomainValidationRecord>,SdkBuilder<DomainValidationRecord.Builder,DomainValidationRecord>,SdkPojo
- Enclosing class:
- DomainValidationRecord
public static interface DomainValidationRecord.Builder extends SdkPojo, CopyableBuilder<DomainValidationRecord.Builder,DomainValidationRecord>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DomainValidationRecord.BuilderdnsRecordCreationState(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.DomainValidationRecord.BuilderdnsRecordCreationState(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.DomainValidationRecord.BuilderdomainName(String domainName)The domain name of the certificate validation record.default DomainValidationRecord.BuilderresourceRecord(Consumer<ResourceRecord.Builder> resourceRecord)An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.DomainValidationRecord.BuilderresourceRecord(ResourceRecord resourceRecord)An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.DomainValidationRecord.BuildervalidationStatus(String validationStatus)The validation status of the record.DomainValidationRecord.BuildervalidationStatus(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 Detail
-
domainName
DomainValidationRecord.Builder domainName(String domainName)
The domain name of the certificate validation record. For example,
example.comorwww.example.com.- Parameters:
domainName- The domain name of the certificate validation record. For example,example.comorwww.example.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRecord
DomainValidationRecord.Builder resourceRecord(ResourceRecord 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.Builderavoiding the need to create one manually viaResourceRecord.builder().When the
Consumercompletes,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:
resourceRecord(ResourceRecord)
-
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.Builderavoiding the need to create one manually viaDnsRecordCreationState.builder().When the
Consumercompletes,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:
dnsRecordCreationState(DnsRecordCreationState)
-
validationStatus
DomainValidationRecord.Builder validationStatus(String 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:
CertificateDomainValidationStatus,CertificateDomainValidationStatus
-
validationStatus
DomainValidationRecord.Builder validationStatus(CertificateDomainValidationStatus 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:
CertificateDomainValidationStatus,CertificateDomainValidationStatus
-
-