Interface QAppSessionData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QAppSessionData.Builder,QAppSessionData>,SdkBuilder<QAppSessionData.Builder,QAppSessionData>,SdkPojo
- Enclosing class:
- QAppSessionData
public static interface QAppSessionData.Builder extends SdkPojo, CopyableBuilder<QAppSessionData.Builder,QAppSessionData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description QAppSessionData.BuildercardId(String cardId)The card Id associated with the response submitted for a Q App session.QAppSessionData.BuildersubmissionId(String submissionId)The unique identifier of the submission.QAppSessionData.Buildertimestamp(Instant timestamp)The date and time when the session data is submitted.default QAppSessionData.Builderuser(Consumer<User.Builder> user)The user who submitted the response for a Q App session.QAppSessionData.Builderuser(User user)The user who submitted the response for a Q App session.QAppSessionData.Buildervalue(Document value)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 Detail
-
cardId
QAppSessionData.Builder cardId(String 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
QAppSessionData.Builder value(Document 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
QAppSessionData.Builder user(User 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
default QAppSessionData.Builder user(Consumer<User.Builder> user)
The user who submitted the response for a Q App session.
This is a convenience method that creates an instance of theUser.Builderavoiding the need to create one manually viaUser.builder().When the
Consumercompletes,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:
user(User)
-
submissionId
QAppSessionData.Builder submissionId(String 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
QAppSessionData.Builder timestamp(Instant 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.
-
-