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.BuilderinAppMessagesResponse(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
copyMethods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaInAppMessagesResponse.builder().When the
Consumercompletes,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:
-