Interface DatasetExecutionDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetExecutionDetails.Builder,,DatasetExecutionDetails> SdkBuilder<DatasetExecutionDetails.Builder,,DatasetExecutionDetails> SdkPojo
- Enclosing class:
DatasetExecutionDetails
@Mutable
@NotThreadSafe
public static interface DatasetExecutionDetails.Builder
extends SdkPojo, CopyableBuilder<DatasetExecutionDetails.Builder,DatasetExecutionDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DatasetExecutionDetails.BuilderagentInvocation(Consumer<AgentInvocationDetails.Builder> agentInvocation) The agent that the batch evaluation invoked.agentInvocation(AgentInvocationDetails agentInvocation) The agent that the batch evaluation invoked.default DatasetExecutionDetails.Builderdataset(Consumer<DatasetDetails.Builder> dataset) The dataset and the version of it that the batch evaluation ran.dataset(DatasetDetails dataset) The dataset and the version of it that the batch evaluation ran.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
-
dataset
The dataset and the version of it that the batch evaluation ran.
- Parameters:
dataset- The dataset and the version of it that the batch evaluation ran.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataset
The dataset and the version of it that the batch evaluation ran.
This is a convenience method that creates an instance of theDatasetDetails.Builderavoiding the need to create one manually viaDatasetDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataset(DatasetDetails).- Parameters:
dataset- a consumer that will call methods onDatasetDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentInvocation
The agent that the batch evaluation invoked.
- Parameters:
agentInvocation- The agent that the batch evaluation invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentInvocation
default DatasetExecutionDetails.Builder agentInvocation(Consumer<AgentInvocationDetails.Builder> agentInvocation) The agent that the batch evaluation invoked.
This is a convenience method that creates an instance of theAgentInvocationDetails.Builderavoiding the need to create one manually viaAgentInvocationDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentInvocation(AgentInvocationDetails).- Parameters:
agentInvocation- a consumer that will call methods onAgentInvocationDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-