Interface AgenticRetrieveCodeExecutionDocument.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgenticRetrieveCodeExecutionDocument.Builder,,AgenticRetrieveCodeExecutionDocument> SdkBuilder<AgenticRetrieveCodeExecutionDocument.Builder,,AgenticRetrieveCodeExecutionDocument> SdkPojo
- Enclosing class:
AgenticRetrieveCodeExecutionDocument
@Mutable
@NotThreadSafe
public static interface AgenticRetrieveCodeExecutionDocument.Builder
extends SdkPojo, CopyableBuilder<AgenticRetrieveCodeExecutionDocument.Builder,AgenticRetrieveCodeExecutionDocument>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentId(String documentId) The identifier of the document.sourceRetriever(Consumer<AgenticRetrieveSourceRetriever.Builder> sourceRetriever) The source retriever associated with the document.sourceRetriever(AgenticRetrieveSourceRetriever sourceRetriever) The source retriever associated with the document.Methods 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
-
documentId
The identifier of the document.
- Parameters:
documentId- The identifier of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRetriever
AgenticRetrieveCodeExecutionDocument.Builder sourceRetriever(AgenticRetrieveSourceRetriever sourceRetriever) The source retriever associated with the document.
- Parameters:
sourceRetriever- The source retriever associated with the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRetriever
default AgenticRetrieveCodeExecutionDocument.Builder sourceRetriever(Consumer<AgenticRetrieveSourceRetriever.Builder> sourceRetriever) The source retriever associated with the document.
This is a convenience method that creates an instance of theAgenticRetrieveSourceRetriever.Builderavoiding the need to create one manually viaAgenticRetrieveSourceRetriever.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceRetriever(AgenticRetrieveSourceRetriever).- Parameters:
sourceRetriever- a consumer that will call methods onAgenticRetrieveSourceRetriever.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-