Interface EvaluationMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationMetadata.Builder,,EvaluationMetadata> SdkBuilder<EvaluationMetadata.Builder,,EvaluationMetadata> SdkPojo
- Enclosing class:
EvaluationMetadata
@Mutable
@NotThreadSafe
public static interface EvaluationMetadata.Builder
extends SdkPojo, CopyableBuilder<EvaluationMetadata.Builder,EvaluationMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionsessionMetadata(Collection<SessionMetadataShape> sessionMetadata) A list of session metadata entries containing ground truth data and test scenario identifiers for specific sessions.sessionMetadata(Consumer<SessionMetadataShape.Builder>... sessionMetadata) A list of session metadata entries containing ground truth data and test scenario identifiers for specific sessions.sessionMetadata(SessionMetadataShape... sessionMetadata) A list of session metadata entries containing ground truth data and test scenario identifiers for specific sessions.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
-
sessionMetadata
A list of session metadata entries containing ground truth data and test scenario identifiers for specific sessions.
- Parameters:
sessionMetadata- A list of session metadata entries containing ground truth data and test scenario identifiers for specific sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionMetadata
A list of session metadata entries containing ground truth data and test scenario identifiers for specific sessions.
- Parameters:
sessionMetadata- A list of session metadata entries containing ground truth data and test scenario identifiers for specific sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionMetadata
EvaluationMetadata.Builder sessionMetadata(Consumer<SessionMetadataShape.Builder>... sessionMetadata) A list of session metadata entries containing ground truth data and test scenario identifiers for specific sessions.
This is a convenience method that creates an instance of theSessionMetadataShape.Builderavoiding the need to create one manually viaSessionMetadataShape.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionMetadata(List<SessionMetadataShape>).- Parameters:
sessionMetadata- a consumer that will call methods onSessionMetadataShape.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-