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