Interface DnsValidationChallenge.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DnsValidationChallenge.Builder,,DnsValidationChallenge> SdkBuilder<DnsValidationChallenge.Builder,,DnsValidationChallenge> SdkPojo
- Enclosing class:
DnsValidationChallenge
@Mutable
@NotThreadSafe
public static interface DnsValidationChallenge.Builder
extends SdkPojo, CopyableBuilder<DnsValidationChallenge.Builder,DnsValidationChallenge>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DnsValidationChallenge.BuilderresourceRecord(Consumer<ResourceRecord.Builder> resourceRecord) The CNAME record that ACM creates for DNS validation.resourceRecord(ResourceRecord resourceRecord) The CNAME record that ACM creates for DNS validation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceRecord
The CNAME record that ACM creates for DNS validation. Add this record to your DNS configuration to prove that you own or control the domain.
- Parameters:
resourceRecord- The CNAME record that ACM creates for DNS validation. Add this record to your DNS configuration to prove that you own or control the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRecord
default DnsValidationChallenge.Builder resourceRecord(Consumer<ResourceRecord.Builder> resourceRecord) The CNAME record that ACM creates for DNS validation. Add this record to your DNS configuration to prove that you own or control the domain.
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:
-