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