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