Interface GetNextMessageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetNextMessageResponse.Builder,GetNextMessageResponse>,QConnectResponse.Builder,SdkBuilder<GetNextMessageResponse.Builder,GetNextMessageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetNextMessageResponse
public static interface GetNextMessageResponse.Builder extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<GetNextMessageResponse.Builder,GetNextMessageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetNextMessageResponse.BuilderconversationSessionData(Collection<RuntimeSessionData> conversationSessionData)The conversation data stored on an Amazon Q in Connect Session.GetNextMessageResponse.BuilderconversationSessionData(Consumer<RuntimeSessionData.Builder>... conversationSessionData)The conversation data stored on an Amazon Q in Connect Session.GetNextMessageResponse.BuilderconversationSessionData(RuntimeSessionData... conversationSessionData)The conversation data stored on an Amazon Q in Connect Session.default GetNextMessageResponse.BuilderconversationState(Consumer<ConversationState.Builder> conversationState)The state of current conversation.GetNextMessageResponse.BuilderconversationState(ConversationState conversationState)The state of current conversation.GetNextMessageResponse.BuildernextMessageToken(String nextMessageToken)The token for the next message.GetNextMessageResponse.BuilderrequestMessageId(String requestMessageId)The identifier of the submitted message.default GetNextMessageResponse.Builderresponse(Consumer<MessageOutput.Builder> response)The message response to the requested message.GetNextMessageResponse.Builderresponse(MessageOutput response)The message response to the requested message.GetNextMessageResponse.Buildertype(String type)The type of message response.GetNextMessageResponse.Buildertype(MessageType type)The type of message response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
conversationSessionData
GetNextMessageResponse.Builder conversationSessionData(Collection<RuntimeSessionData> conversationSessionData)
The conversation data stored on an Amazon Q in Connect Session.
- Parameters:
conversationSessionData- The conversation data stored on an Amazon Q in Connect Session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationSessionData
GetNextMessageResponse.Builder conversationSessionData(RuntimeSessionData... conversationSessionData)
The conversation data stored on an Amazon Q in Connect Session.
- Parameters:
conversationSessionData- The conversation data stored on an Amazon Q in Connect Session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationSessionData
GetNextMessageResponse.Builder conversationSessionData(Consumer<RuntimeSessionData.Builder>... conversationSessionData)
The conversation data stored on an Amazon Q in Connect Session.
This is a convenience method that creates an instance of theRuntimeSessionData.Builderavoiding the need to create one manually viaRuntimeSessionData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#conversationSessionData(List.) - Parameters:
conversationSessionData- a consumer that will call methods onRuntimeSessionData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#conversationSessionData(java.util.Collection)
-
conversationState
GetNextMessageResponse.Builder conversationState(ConversationState conversationState)
The state of current conversation.
- Parameters:
conversationState- The state of current conversation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationState
default GetNextMessageResponse.Builder conversationState(Consumer<ConversationState.Builder> conversationState)
The state of current conversation.
This is a convenience method that creates an instance of theConversationState.Builderavoiding the need to create one manually viaConversationState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconversationState(ConversationState).- Parameters:
conversationState- a consumer that will call methods onConversationState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
conversationState(ConversationState)
-
nextMessageToken
GetNextMessageResponse.Builder nextMessageToken(String nextMessageToken)
The token for the next message.
- Parameters:
nextMessageToken- The token for the next message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestMessageId
GetNextMessageResponse.Builder requestMessageId(String requestMessageId)
The identifier of the submitted message.
- Parameters:
requestMessageId- The identifier of the submitted message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
response
GetNextMessageResponse.Builder response(MessageOutput response)
The message response to the requested message.
- Parameters:
response- The message response to the requested message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
response
default GetNextMessageResponse.Builder response(Consumer<MessageOutput.Builder> response)
The message response to the requested message.
This is a convenience method that creates an instance of theMessageOutput.Builderavoiding the need to create one manually viaMessageOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresponse(MessageOutput).- Parameters:
response- a consumer that will call methods onMessageOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
response(MessageOutput)
-
type
GetNextMessageResponse.Builder type(String type)
The type of message response.
- Parameters:
type- The type of message response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MessageType,MessageType
-
type
GetNextMessageResponse.Builder type(MessageType type)
The type of message response.
- Parameters:
type- The type of message response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MessageType,MessageType
-
-