Interface DnsPrevalidationOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DnsPrevalidationOptions.Builder,,DnsPrevalidationOptions> SdkBuilder<DnsPrevalidationOptions.Builder,,DnsPrevalidationOptions> SdkPojo
- Enclosing class:
DnsPrevalidationOptions
@Mutable
@NotThreadSafe
public static interface DnsPrevalidationOptions.Builder
extends SdkPojo, CopyableBuilder<DnsPrevalidationOptions.Builder,DnsPrevalidationOptions>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DnsPrevalidationOptions.BuilderdomainScope(Consumer<DomainScope.Builder> domainScope) The scope of domains covered by this prevalidation.domainScope(DomainScope domainScope) The scope of domains covered by this prevalidation.hostedZoneId(String hostedZoneId) The Route 53 hosted zone ID 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
-
domainScope
The scope of domains covered by this prevalidation.
- Parameters:
domainScope- The scope of domains covered by this prevalidation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainScope
The scope of domains covered by this prevalidation.
This is a convenience method that creates an instance of theDomainScope.Builderavoiding the need to create one manually viaDomainScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomainScope(DomainScope).- Parameters:
domainScope- a consumer that will call methods onDomainScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hostedZoneId
The Route 53 hosted zone ID for DNS validation.
- Parameters:
hostedZoneId- The Route 53 hosted zone ID for DNS validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-