Interface UpdateJourneyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateJourneyResponse.Builder,UpdateJourneyResponse>,PinpointResponse.Builder,SdkBuilder<UpdateJourneyResponse.Builder,UpdateJourneyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateJourneyResponse
public static interface UpdateJourneyResponse.Builder extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<UpdateJourneyResponse.Builder,UpdateJourneyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateJourneyResponse.BuilderjourneyResponse(Consumer<JourneyResponse.Builder> journeyResponse)Sets the value of the JourneyResponse property for this object.UpdateJourneyResponse.BuilderjourneyResponse(JourneyResponse journeyResponse)Sets the value of the JourneyResponse 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 Detail
-
journeyResponse
UpdateJourneyResponse.Builder journeyResponse(JourneyResponse journeyResponse)
Sets the value of the JourneyResponse property for this object.- Parameters:
journeyResponse- The new value for the JourneyResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
journeyResponse
default UpdateJourneyResponse.Builder journeyResponse(Consumer<JourneyResponse.Builder> journeyResponse)
Sets the value of the JourneyResponse property for this object. This is a convenience method that creates an instance of theJourneyResponse.Builderavoiding the need to create one manually viaJourneyResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojourneyResponse(JourneyResponse).- Parameters:
journeyResponse- a consumer that will call methods onJourneyResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
journeyResponse(JourneyResponse)
-
-