Interface UpdateJourneyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateJourneyRequest.Builder,UpdateJourneyRequest>,PinpointRequest.Builder,SdkBuilder<UpdateJourneyRequest.Builder,UpdateJourneyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateJourneyRequest
public static interface UpdateJourneyRequest.Builder extends PinpointRequest.Builder, SdkPojo, CopyableBuilder<UpdateJourneyRequest.Builder,UpdateJourneyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateJourneyRequest.BuilderapplicationId(String applicationId)The unique identifier for the application.UpdateJourneyRequest.BuilderjourneyId(String journeyId)The unique identifier for the journey.UpdateJourneyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateJourneyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateJourneyRequest.BuilderwriteJourneyRequest(Consumer<WriteJourneyRequest.Builder> writeJourneyRequest)Sets the value of the WriteJourneyRequest property for this object.UpdateJourneyRequest.BuilderwriteJourneyRequest(WriteJourneyRequest writeJourneyRequest)Sets the value of the WriteJourneyRequest property for this object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
applicationId
UpdateJourneyRequest.Builder applicationId(String applicationId)
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
- Parameters:
applicationId- The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
journeyId
UpdateJourneyRequest.Builder journeyId(String journeyId)
The unique identifier for the journey.
- Parameters:
journeyId- The unique identifier for the journey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
writeJourneyRequest
UpdateJourneyRequest.Builder writeJourneyRequest(WriteJourneyRequest writeJourneyRequest)
Sets the value of the WriteJourneyRequest property for this object.- Parameters:
writeJourneyRequest- The new value for the WriteJourneyRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
writeJourneyRequest
default UpdateJourneyRequest.Builder writeJourneyRequest(Consumer<WriteJourneyRequest.Builder> writeJourneyRequest)
Sets the value of the WriteJourneyRequest property for this object. This is a convenience method that creates an instance of theWriteJourneyRequest.Builderavoiding the need to create one manually viaWriteJourneyRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towriteJourneyRequest(WriteJourneyRequest).- Parameters:
writeJourneyRequest- a consumer that will call methods onWriteJourneyRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
writeJourneyRequest(WriteJourneyRequest)
-
overrideConfiguration
UpdateJourneyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateJourneyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-