Interface JournalRecord.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JournalRecord.Builder,,JournalRecord> SdkBuilder<JournalRecord.Builder,,JournalRecord> SdkPojo
- Enclosing class:
JournalRecord
@Mutable
@NotThreadSafe
public static interface JournalRecord.Builder
extends SdkPojo, CopyableBuilder<JournalRecord.Builder,JournalRecord>
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier for the agent space containing this recordThe content of this journal recordTimestamp when this journal record was createdexecutionId(String executionId) The execution ID associated with this journal recordThe unique identifier for this journal recordrecordType(String recordType) The type of this journal recorddefault JournalRecord.BuilderuserReference(Consumer<UserReference.Builder> userReference) Reference to the user associated with this journal recorduserReference(UserReference userReference) Reference to the user associated with this journal recordMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
agentSpaceId
The unique identifier for the agent space containing this record
- Parameters:
agentSpaceId- The unique identifier for the agent space containing this record- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionId
The execution ID associated with this journal record
- Parameters:
executionId- The execution ID associated with this journal record- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordId
The unique identifier for this journal record
- Parameters:
recordId- The unique identifier for this journal record- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content of this journal record
- Parameters:
content- The content of this journal record- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Timestamp when this journal record was created
- Parameters:
createdAt- Timestamp when this journal record was created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordType
The type of this journal record
- Parameters:
recordType- The type of this journal record- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userReference
Reference to the user associated with this journal record
- Parameters:
userReference- Reference to the user associated with this journal record- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userReference
Reference to the user associated with this journal record
This is a convenience method that creates an instance of theUserReference.Builderavoiding the need to create one manually viaUserReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserReference(UserReference).- Parameters:
userReference- a consumer that will call methods onUserReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-