Class CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty>
- Enclosing interface:
CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty>
A builder for
CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.getActive()active(IResolvable active) Sets the value ofCfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.getActive()build()Builds the configured instance.startResponse(IResolvable startResponse) timeoutInSeconds(Number timeoutInSeconds) updateResponse(IResolvable updateResponse)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
active
@Stability(Stable) public CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.Builder active(Boolean active) Sets the value ofCfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.getActive()- Parameters:
active- Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent. If theactivefield is set to true, thestartResponse,updateResponse, andtimeoutInSecondsfields are required.- Returns:
this
-
active
@Stability(Stable) public CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.Builder active(IResolvable active) Sets the value ofCfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.getActive()- Parameters:
active- Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent. If theactivefield is set to true, thestartResponse,updateResponse, andtimeoutInSecondsfields are required.- Returns:
this
-
startResponse
@Stability(Stable) public CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.Builder startResponse(IResolvable startResponse) - Parameters:
startResponse- Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.- Returns:
this
-
startResponse
@Stability(Stable) public CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.Builder startResponse(CfnBotPropsMixin.FulfillmentStartResponseSpecificationProperty startResponse) - Parameters:
startResponse- Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.- Returns:
this
-
timeoutInSeconds
@Stability(Stable) public CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.Builder timeoutInSeconds(Number timeoutInSeconds) - Parameters:
timeoutInSeconds- The length of time that the fulfillment Lambda function should run before it times out.- Returns:
this
-
updateResponse
@Stability(Stable) public CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.Builder updateResponse(IResolvable updateResponse) - Parameters:
updateResponse- Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.- Returns:
this
-
updateResponse
@Stability(Stable) public CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty.Builder updateResponse(CfnBotPropsMixin.FulfillmentUpdateResponseSpecificationProperty updateResponse) - Parameters:
updateResponse- Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.FulfillmentUpdatesSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-