Interface UpdateSmsTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateSmsTemplateResponse.Builder,
,UpdateSmsTemplateResponse> PinpointResponse.Builder
,SdkBuilder<UpdateSmsTemplateResponse.Builder,
,UpdateSmsTemplateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateSmsTemplateResponse
public static interface UpdateSmsTemplateResponse.Builder
extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<UpdateSmsTemplateResponse.Builder,UpdateSmsTemplateResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmessageBody
(Consumer<MessageBody.Builder> messageBody) Sets the value of the MessageBody property for this object.messageBody
(MessageBody messageBody) Sets the value of the MessageBody 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
-
messageBody
Sets the value of the MessageBody property for this object.- Parameters:
messageBody
- The new value for the MessageBody property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageBody
Sets the value of the MessageBody property for this object. This is a convenience method that creates an instance of theMessageBody.Builder
avoiding the need to create one manually viaMessageBody.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomessageBody(MessageBody)
.- Parameters:
messageBody
- a consumer that will call methods onMessageBody.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-