Interface ModelMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ModelMetadata.Builder,
,ModelMetadata> SdkBuilder<ModelMetadata.Builder,
,ModelMetadata> SdkPojo
- Enclosing class:
ModelMetadata
public static interface ModelMetadata.Builder
extends SdkPojo, CopyableBuilder<ModelMetadata.Builder,ModelMetadata>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimestamp
(Instant creationTimestamp) The unix timestamp for the date and time that the model was created.description
(String description) The description for the model.The Amazon Resource Name (ARN) of the model.modelVersion
(String modelVersion) The version of the model.default ModelMetadata.Builder
performance
(Consumer<ModelPerformance.Builder> performance) Performance metrics for the model.performance
(ModelPerformance performance) Performance metrics for the model.The status of the model.status
(ModelStatus status) The status of the model.statusMessage
(String statusMessage) The status message for the model.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, sdkFields
-
Method Details
-
creationTimestamp
The unix timestamp for the date and time that the model was created.
- Parameters:
creationTimestamp
- The unix timestamp for the date and time that the model was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersion
The version of the model.
- Parameters:
modelVersion
- The version of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelArn
The Amazon Resource Name (ARN) of the model.
- Parameters:
modelArn
- The Amazon Resource Name (ARN) of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the model.
- Parameters:
description
- The description for the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the model.
- Parameters:
status
- The status of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the model.
- Parameters:
status
- The status of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
The status message for the model.
- Parameters:
statusMessage
- The status message for the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performance
Performance metrics for the model. Not available until training has successfully completed.
- Parameters:
performance
- Performance metrics for the model. Not available until training has successfully completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performance
Performance metrics for the model. Not available until training has successfully completed.
This is a convenience method that creates an instance of theModelPerformance.Builder
avoiding the need to create one manually viaModelPerformance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toperformance(ModelPerformance)
.- Parameters:
performance
- a consumer that will call methods onModelPerformance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-