Interface QAppSessionData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QAppSessionData.Builder,
,QAppSessionData> SdkBuilder<QAppSessionData.Builder,
,QAppSessionData> SdkPojo
- Enclosing class:
QAppSessionData
@Mutable
@NotThreadSafe
public static interface QAppSessionData.Builder
extends SdkPojo, CopyableBuilder<QAppSessionData.Builder,QAppSessionData>
-
Method Summary
Modifier and TypeMethodDescriptionThe card Id associated with the response submitted for a Q App session.submissionId
(String submissionId) The unique identifier of the submission.The date and time when the session data is submitted.default QAppSessionData.Builder
user
(Consumer<User.Builder> user) The user who submitted the response for a Q App session.The user who submitted the response for a Q App session.The response submitted for a Q App session.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, sdkFieldNameToField, sdkFields
-
Method Details
-
cardId
The card Id associated with the response submitted for a Q App session.
- Parameters:
cardId
- The card Id associated with the response submitted for a Q App session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The response submitted for a Q App session.
- Parameters:
value
- The response submitted for a Q App session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
The user who submitted the response for a Q App session.
- Parameters:
user
- The user who submitted the response for a Q App session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
The user who submitted the response for a Q App session.
This is a convenience method that creates an instance of theUser.Builder
avoiding the need to create one manually viaUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touser(User)
.- Parameters:
user
- a consumer that will call methods onUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
submissionId
The unique identifier of the submission.
- Parameters:
submissionId
- The unique identifier of the submission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The date and time when the session data is submitted.
- Parameters:
timestamp
- The date and time when the session data is submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-