Interface StillWaitingResponseSpecification.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<StillWaitingResponseSpecification.Builder,,- StillWaitingResponseSpecification> - SdkBuilder<StillWaitingResponseSpecification.Builder,,- StillWaitingResponseSpecification> - SdkPojo
- Enclosing class:
- StillWaitingResponseSpecification
- 
Method SummaryModifier and TypeMethodDescriptionallowInterrupt(Boolean allowInterrupt) Indicates that the user can interrupt the response by speaking while the message is being played.frequencyInSeconds(Integer frequencyInSeconds) How often a message should be sent to the user.messageGroups(Collection<MessageGroup> messageGroups) One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.messageGroups(Consumer<MessageGroup.Builder>... messageGroups) One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.messageGroups(MessageGroup... messageGroups) One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.timeoutInSeconds(Integer timeoutInSeconds) If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
messageGroupsOne or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user. - Parameters:
- messageGroups- One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
messageGroupsOne or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user. - Parameters:
- messageGroups- One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
messageGroupsStillWaitingResponseSpecification.Builder messageGroups(Consumer<MessageGroup.Builder>... messageGroups) One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user. This is a convenience method that creates an instance of theMessageGroup.Builderavoiding the need to create one manually viaMessageGroup.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomessageGroups(List<MessageGroup>).- Parameters:
- messageGroups- a consumer that will call methods on- MessageGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
frequencyInSecondsHow often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes. - Parameters:
- frequencyInSeconds- How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timeoutInSecondsIf Amazon Lex waits longer than this length of time for a response, it will stop sending messages. - Parameters:
- timeoutInSeconds- If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
allowInterruptIndicates that the user can interrupt the response by speaking while the message is being played. - Parameters:
- allowInterrupt- Indicates that the user can interrupt the response by speaking while the message is being played.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-