Interface ValidationChallenge.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationChallenge.Builder,,ValidationChallenge> SdkBuilder<ValidationChallenge.Builder,,ValidationChallenge> SdkPojo
- Enclosing class:
ValidationChallenge
@Mutable
@NotThreadSafe
public static interface ValidationChallenge.Builder
extends SdkPojo, CopyableBuilder<ValidationChallenge.Builder,ValidationChallenge>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ValidationChallenge.BuilderdnsValidationChallenge(Consumer<DnsValidationChallenge.Builder> dnsValidationChallenge) Sets the value of the DnsValidationChallenge property for this object.dnsValidationChallenge(DnsValidationChallenge dnsValidationChallenge) Sets the value of the DnsValidationChallenge property for this object.default ValidationChallenge.BuilderemailValidationChallenge(Consumer<EmailValidationChallenge.Builder> emailValidationChallenge) Sets the value of the EmailValidationChallenge property for this object.emailValidationChallenge(EmailValidationChallenge emailValidationChallenge) Sets the value of the EmailValidationChallenge property for this object.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
-
emailValidationChallenge
ValidationChallenge.Builder emailValidationChallenge(EmailValidationChallenge emailValidationChallenge) Sets the value of the EmailValidationChallenge property for this object.- Parameters:
emailValidationChallenge- The new value for the EmailValidationChallenge property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailValidationChallenge
default ValidationChallenge.Builder emailValidationChallenge(Consumer<EmailValidationChallenge.Builder> emailValidationChallenge) Sets the value of the EmailValidationChallenge property for this object. This is a convenience method that creates an instance of theEmailValidationChallenge.Builderavoiding the need to create one manually viaEmailValidationChallenge.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemailValidationChallenge(EmailValidationChallenge).- Parameters:
emailValidationChallenge- a consumer that will call methods onEmailValidationChallenge.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dnsValidationChallenge
Sets the value of the DnsValidationChallenge property for this object.- Parameters:
dnsValidationChallenge- The new value for the DnsValidationChallenge property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsValidationChallenge
default ValidationChallenge.Builder dnsValidationChallenge(Consumer<DnsValidationChallenge.Builder> dnsValidationChallenge) Sets the value of the DnsValidationChallenge property for this object. This is a convenience method that creates an instance of theDnsValidationChallenge.Builderavoiding the need to create one manually viaDnsValidationChallenge.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todnsValidationChallenge(DnsValidationChallenge).- Parameters:
dnsValidationChallenge- a consumer that will call methods onDnsValidationChallenge.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-