Interface GetJourneyRunsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetJourneyRunsResponse.Builder,,GetJourneyRunsResponse> PinpointResponse.Builder,SdkBuilder<GetJourneyRunsResponse.Builder,,GetJourneyRunsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetJourneyRunsResponse
@Mutable
@NotThreadSafe
public static interface GetJourneyRunsResponse.Builder
extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<GetJourneyRunsResponse.Builder,GetJourneyRunsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetJourneyRunsResponse.BuilderjourneyRunsResponse(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
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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaJourneyRunsResponse.builder().When the
Consumercompletes,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:
-