Interface VerifyOtpMessageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<VerifyOtpMessageResponse.Builder,
,VerifyOtpMessageResponse> PinpointResponse.Builder
,SdkBuilder<VerifyOtpMessageResponse.Builder,
,VerifyOtpMessageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
VerifyOtpMessageResponse
public static interface VerifyOtpMessageResponse.Builder
extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<VerifyOtpMessageResponse.Builder,VerifyOtpMessageResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VerifyOtpMessageResponse.Builder
verificationResponse
(Consumer<VerificationResponse.Builder> verificationResponse) Sets the value of the VerificationResponse property for this object.verificationResponse
(VerificationResponse verificationResponse) Sets the value of the VerificationResponse property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
verificationResponse
Sets the value of the VerificationResponse property for this object.- Parameters:
verificationResponse
- The new value for the VerificationResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verificationResponse
default VerifyOtpMessageResponse.Builder verificationResponse(Consumer<VerificationResponse.Builder> verificationResponse) Sets the value of the VerificationResponse property for this object. This is a convenience method that creates an instance of theVerificationResponse.Builder
avoiding the need to create one manually viaVerificationResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toverificationResponse(VerificationResponse)
.- Parameters:
verificationResponse
- a consumer that will call methods onVerificationResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-