Interface FulfillmentUpdatesSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FulfillmentUpdatesSpecification.Builder,
,FulfillmentUpdatesSpecification> SdkBuilder<FulfillmentUpdatesSpecification.Builder,
,FulfillmentUpdatesSpecification> SdkPojo
- Enclosing class:
FulfillmentUpdatesSpecification
-
Method Summary
Modifier and TypeMethodDescriptionDetermines whether fulfillment updates are sent to the user.startResponse
(Consumer<FulfillmentStartResponseSpecification.Builder> startResponse) Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.startResponse
(FulfillmentStartResponseSpecification startResponse) Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.timeoutInSeconds
(Integer timeoutInSeconds) The length of time that the fulfillment Lambda function should run before it times out.updateResponse
(Consumer<FulfillmentUpdateResponseSpecification.Builder> updateResponse) Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.updateResponse
(FulfillmentUpdateResponseSpecification updateResponse) Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
active
Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.
If the
active
field is set to true, thestartResponse
,updateResponse
, andtimeoutInSeconds
fields are required.- Parameters:
active
- Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.If the
active
field is set to true, thestartResponse
,updateResponse
, andtimeoutInSeconds
fields are required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startResponse
FulfillmentUpdatesSpecification.Builder startResponse(FulfillmentStartResponseSpecification startResponse) Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.
- Parameters:
startResponse
- Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startResponse
default FulfillmentUpdatesSpecification.Builder startResponse(Consumer<FulfillmentStartResponseSpecification.Builder> startResponse) Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.
This is a convenience method that creates an instance of theFulfillmentStartResponseSpecification.Builder
avoiding the need to create one manually viaFulfillmentStartResponseSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartResponse(FulfillmentStartResponseSpecification)
.- Parameters:
startResponse
- a consumer that will call methods onFulfillmentStartResponseSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateResponse
FulfillmentUpdatesSpecification.Builder updateResponse(FulfillmentUpdateResponseSpecification updateResponse) Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.
- Parameters:
updateResponse
- Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateResponse
default FulfillmentUpdatesSpecification.Builder updateResponse(Consumer<FulfillmentUpdateResponseSpecification.Builder> updateResponse) Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.
This is a convenience method that creates an instance of theFulfillmentUpdateResponseSpecification.Builder
avoiding the need to create one manually viaFulfillmentUpdateResponseSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateResponse(FulfillmentUpdateResponseSpecification)
.- Parameters:
updateResponse
- a consumer that will call methods onFulfillmentUpdateResponseSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeoutInSeconds
The length of time that the fulfillment Lambda function should run before it times out.
- Parameters:
timeoutInSeconds
- The length of time that the fulfillment Lambda function should run before it times out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-