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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ModelMetadata.BuildercreationTimestamp(Instant creationTimestamp)The unix timestamp for the date and time that the model was created.ModelMetadata.Builderdescription(String description)The description for the model.ModelMetadata.BuildermodelArn(String modelArn)The Amazon Resource Name (ARN) of the model.ModelMetadata.BuildermodelVersion(String modelVersion)The version of the model.default ModelMetadata.Builderperformance(Consumer<ModelPerformance.Builder> performance)Performance metrics for the model.ModelMetadata.Builderperformance(ModelPerformance performance)Performance metrics for the model.ModelMetadata.Builderstatus(String status)The status of the model.ModelMetadata.Builderstatus(ModelStatus status)The status of the model.ModelMetadata.BuilderstatusMessage(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
creationTimestamp
ModelMetadata.Builder creationTimestamp(Instant 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
ModelMetadata.Builder modelVersion(String 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
ModelMetadata.Builder modelArn(String 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
ModelMetadata.Builder description(String 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
ModelMetadata.Builder status(String 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:
ModelStatus,ModelStatus
-
status
ModelMetadata.Builder status(ModelStatus 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:
ModelStatus,ModelStatus
-
statusMessage
ModelMetadata.Builder statusMessage(String 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
ModelMetadata.Builder performance(ModelPerformance 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
default ModelMetadata.Builder performance(Consumer<ModelPerformance.Builder> performance)
Performance metrics for the model. Not available until training has successfully completed.
This is a convenience method that creates an instance of theModelPerformance.Builderavoiding the need to create one manually viaModelPerformance.builder().When the
Consumercompletes,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:
performance(ModelPerformance)
-
-