public static interface SendOtpMessageResponse.Builder extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<SendOtpMessageResponse.Builder,SendOtpMessageResponse>
| Modifier and Type | Method and Description |
|---|---|
default SendOtpMessageResponse.Builder |
messageResponse(Consumer<MessageResponse.Builder> messageResponse)
Sets the value of the MessageResponse property for this object.
|
SendOtpMessageResponse.Builder |
messageResponse(MessageResponse messageResponse)
Sets the value of the MessageResponse property for this object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSendOtpMessageResponse.Builder messageResponse(MessageResponse messageResponse)
messageResponse - The new value for the MessageResponse property for this object.default SendOtpMessageResponse.Builder messageResponse(Consumer<MessageResponse.Builder> messageResponse)
MessageResponse.Builder avoiding the
need to create one manually via MessageResponse.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to messageResponse(MessageResponse).messageResponse - a consumer that will call methods on MessageResponse.BuildermessageResponse(MessageResponse)Copyright © 2022. All rights reserved.