Interface DescribeModelVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeModelVersionResponse.Builder,
,DescribeModelVersionResponse> LookoutEquipmentResponse.Builder
,SdkBuilder<DescribeModelVersionResponse.Builder,
,DescribeModelVersionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeModelVersionResponse
-
Method Summary
Modifier and TypeMethodDescriptionautoPromotionResult
(String autoPromotionResult) Indicates whether the model version was promoted to be the active version after retraining or if there was an error with or cancellation of the retraining.autoPromotionResult
(AutoPromotionResult autoPromotionResult) Indicates whether the model version was promoted to be the active version after retraining or if there was an error with or cancellation of the retraining.autoPromotionResultReason
(String autoPromotionResultReason) Indicates the reason for theAutoPromotionResult
.Indicates the time and date at which the machine learning model version was created.dataPreProcessingConfiguration
(Consumer<DataPreProcessingConfiguration.Builder> dataPreProcessingConfiguration) Sets the value of the DataPreProcessingConfiguration property for this object.dataPreProcessingConfiguration
(DataPreProcessingConfiguration dataPreProcessingConfiguration) Sets the value of the DataPreProcessingConfiguration property for this object.datasetArn
(String datasetArn) The Amazon Resource Name (ARN) of the dataset used to train the model version.datasetName
(String datasetName) The name of the dataset used to train the model version.evaluationDataEndTime
(Instant evaluationDataEndTime) The date on which the data in the evaluation set began being gathered.evaluationDataStartTime
(Instant evaluationDataStartTime) The date on which the data in the evaluation set began being gathered.failedReason
(String failedReason) The failure message if the training of the model version failed.importedDataSizeInBytes
(Long importedDataSizeInBytes) The size in bytes of the imported data.importJobEndTime
(Instant importJobEndTime) The date and time when the import job completed.importJobStartTime
(Instant importJobStartTime) The date and time when the import job began.labelsInputConfiguration
(Consumer<LabelsInputConfiguration.Builder> labelsInputConfiguration) Sets the value of the LabelsInputConfiguration property for this object.labelsInputConfiguration
(LabelsInputConfiguration labelsInputConfiguration) Sets the value of the LabelsInputConfiguration property for this object.lastUpdatedTime
(Instant lastUpdatedTime) Indicates the last time the machine learning model version was updated.The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.modelDiagnosticsOutputConfiguration
(Consumer<ModelDiagnosticsOutputConfiguration.Builder> modelDiagnosticsOutputConfiguration) The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.modelDiagnosticsOutputConfiguration
(ModelDiagnosticsOutputConfiguration modelDiagnosticsOutputConfiguration) The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.modelDiagnosticsResultsObject
(Consumer<S3Object.Builder> modelDiagnosticsResultsObject) The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.modelDiagnosticsResultsObject
(S3Object modelDiagnosticsResultsObject) The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.modelMetrics
(String modelMetrics) Shows an aggregated summary, in JSON format, of the model's performance within the evaluation time range.The name of the machine learning model that this version belongs to.modelQuality
(String modelQuality) Provides a quality assessment for a model that uses labels.modelQuality
(ModelQuality modelQuality) Provides a quality assessment for a model that uses labels.modelVersion
(Long modelVersion) The version of the machine learning model.modelVersionArn
(String modelVersionArn) The Amazon Resource Name (ARN) of the model version.offCondition
(String offCondition) Indicates that the asset associated with this sensor has been shut off.priorModelMetrics
(String priorModelMetrics) If the model version was retrained, this field shows a summary of the performance of the prior model on the new training range.retrainingAvailableDataInDays
(Integer retrainingAvailableDataInDays) Indicates the number of days of data used in the most recent scheduled retraining run.The Amazon Resource Name (ARN) of the role that was used to train the model version.The schema of the data used to train the model version.serverSideKmsKeyId
(String serverSideKmsKeyId) The identifier of the KMS key key used to encrypt model version data by Amazon Lookout for Equipment.sourceModelVersionArn
(String sourceModelVersionArn) If model version was imported, then this field is the arn of the source model version.sourceType
(String sourceType) Indicates whether this model version was created by training or by importing.sourceType
(ModelVersionSourceType sourceType) Indicates whether this model version was created by training or by importing.The current status of the model version.status
(ModelVersionStatus status) The current status of the model version.trainingDataEndTime
(Instant trainingDataEndTime) The date on which the training data finished being gathered.trainingDataStartTime
(Instant trainingDataStartTime) The date on which the training data began being gathered.trainingExecutionEndTime
(Instant trainingExecutionEndTime) The time when the training of the version completed.trainingExecutionStartTime
(Instant trainingExecutionStartTime) The time when the training of the version began.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
modelName
The name of the machine learning model that this version belongs to.
- Parameters:
modelName
- The name of the machine learning model that this version belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelArn
The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.
- Parameters:
modelArn
- The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersion
The version of the machine learning model.
- Parameters:
modelVersion
- The version of the machine learning model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersionArn
The Amazon Resource Name (ARN) of the model version.
- Parameters:
modelVersionArn
- The Amazon Resource Name (ARN) of the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the model version.
- Parameters:
status
- The current status of the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the model version.
- Parameters:
status
- The current status of the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
Indicates whether this model version was created by training or by importing.
- Parameters:
sourceType
- Indicates whether this model version was created by training or by importing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
Indicates whether this model version was created by training or by importing.
- Parameters:
sourceType
- Indicates whether this model version was created by training or by importing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datasetName
The name of the dataset used to train the model version.
- Parameters:
datasetName
- The name of the dataset used to train the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetArn
The Amazon Resource Name (ARN) of the dataset used to train the model version.
- Parameters:
datasetArn
- The Amazon Resource Name (ARN) of the dataset used to train the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The schema of the data used to train the model version.
- Parameters:
schema
- The schema of the data used to train the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelsInputConfiguration
DescribeModelVersionResponse.Builder labelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration) Sets the value of the LabelsInputConfiguration property for this object.- Parameters:
labelsInputConfiguration
- The new value for the LabelsInputConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelsInputConfiguration
default DescribeModelVersionResponse.Builder labelsInputConfiguration(Consumer<LabelsInputConfiguration.Builder> labelsInputConfiguration) Sets the value of the LabelsInputConfiguration property for this object. This is a convenience method that creates an instance of theLabelsInputConfiguration.Builder
avoiding the need to create one manually viaLabelsInputConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolabelsInputConfiguration(LabelsInputConfiguration)
.- Parameters:
labelsInputConfiguration
- a consumer that will call methods onLabelsInputConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingDataStartTime
The date on which the training data began being gathered. If you imported the version, this is the date that the training data in the source version began being gathered.
- Parameters:
trainingDataStartTime
- The date on which the training data began being gathered. If you imported the version, this is the date that the training data in the source version began being gathered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataEndTime
The date on which the training data finished being gathered. If you imported the version, this is the date that the training data in the source version finished being gathered.
- Parameters:
trainingDataEndTime
- The date on which the training data finished being gathered. If you imported the version, this is the date that the training data in the source version finished being gathered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationDataStartTime
The date on which the data in the evaluation set began being gathered. If you imported the version, this is the date that the evaluation set data in the source version began being gathered.
- Parameters:
evaluationDataStartTime
- The date on which the data in the evaluation set began being gathered. If you imported the version, this is the date that the evaluation set data in the source version began being gathered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationDataEndTime
The date on which the data in the evaluation set began being gathered. If you imported the version, this is the date that the evaluation set data in the source version finished being gathered.
- Parameters:
evaluationDataEndTime
- The date on which the data in the evaluation set began being gathered. If you imported the version, this is the date that the evaluation set data in the source version finished being gathered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the role that was used to train the model version.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the role that was used to train the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPreProcessingConfiguration
DescribeModelVersionResponse.Builder dataPreProcessingConfiguration(DataPreProcessingConfiguration dataPreProcessingConfiguration) Sets the value of the DataPreProcessingConfiguration property for this object.- Parameters:
dataPreProcessingConfiguration
- The new value for the DataPreProcessingConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPreProcessingConfiguration
default DescribeModelVersionResponse.Builder dataPreProcessingConfiguration(Consumer<DataPreProcessingConfiguration.Builder> dataPreProcessingConfiguration) Sets the value of the DataPreProcessingConfiguration property for this object. This is a convenience method that creates an instance of theDataPreProcessingConfiguration.Builder
avoiding the need to create one manually viaDataPreProcessingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataPreProcessingConfiguration(DataPreProcessingConfiguration)
.- Parameters:
dataPreProcessingConfiguration
- a consumer that will call methods onDataPreProcessingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingExecutionStartTime
The time when the training of the version began.
- Parameters:
trainingExecutionStartTime
- The time when the training of the version began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingExecutionEndTime
The time when the training of the version completed.
- Parameters:
trainingExecutionEndTime
- The time when the training of the version completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedReason
The failure message if the training of the model version failed.
- Parameters:
failedReason
- The failure message if the training of the model version failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelMetrics
Shows an aggregated summary, in JSON format, of the model's performance within the evaluation time range. These metrics are created when evaluating the model.
- Parameters:
modelMetrics
- Shows an aggregated summary, in JSON format, of the model's performance within the evaluation time range. These metrics are created when evaluating the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
Indicates the last time the machine learning model version was updated.
- Parameters:
lastUpdatedTime
- Indicates the last time the machine learning model version was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Indicates the time and date at which the machine learning model version was created.
- Parameters:
createdAt
- Indicates the time and date at which the machine learning model version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideKmsKeyId
The identifier of the KMS key key used to encrypt model version data by Amazon Lookout for Equipment.
- Parameters:
serverSideKmsKeyId
- The identifier of the KMS key key used to encrypt model version data by Amazon Lookout for Equipment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offCondition
Indicates that the asset associated with this sensor has been shut off. As long as this condition is met, Lookout for Equipment will not use data from this asset for training, evaluation, or inference.
- Parameters:
offCondition
- Indicates that the asset associated with this sensor has been shut off. As long as this condition is met, Lookout for Equipment will not use data from this asset for training, evaluation, or inference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceModelVersionArn
If model version was imported, then this field is the arn of the source model version.
- Parameters:
sourceModelVersionArn
- If model version was imported, then this field is the arn of the source model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importJobStartTime
The date and time when the import job began. This field appears if the model version was imported.
- Parameters:
importJobStartTime
- The date and time when the import job began. This field appears if the model version was imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importJobEndTime
The date and time when the import job completed. This field appears if the model version was imported.
- Parameters:
importJobEndTime
- The date and time when the import job completed. This field appears if the model version was imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importedDataSizeInBytes
The size in bytes of the imported data. This field appears if the model version was imported.
- Parameters:
importedDataSizeInBytes
- The size in bytes of the imported data. This field appears if the model version was imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priorModelMetrics
If the model version was retrained, this field shows a summary of the performance of the prior model on the new training range. You can use the information in this JSON-formatted object to compare the new model version and the prior model version.
- Parameters:
priorModelMetrics
- If the model version was retrained, this field shows a summary of the performance of the prior model on the new training range. You can use the information in this JSON-formatted object to compare the new model version and the prior model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrainingAvailableDataInDays
DescribeModelVersionResponse.Builder retrainingAvailableDataInDays(Integer retrainingAvailableDataInDays) Indicates the number of days of data used in the most recent scheduled retraining run.
- Parameters:
retrainingAvailableDataInDays
- Indicates the number of days of data used in the most recent scheduled retraining run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoPromotionResult
Indicates whether the model version was promoted to be the active version after retraining or if there was an error with or cancellation of the retraining.
- Parameters:
autoPromotionResult
- Indicates whether the model version was promoted to be the active version after retraining or if there was an error with or cancellation of the retraining.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoPromotionResult
Indicates whether the model version was promoted to be the active version after retraining or if there was an error with or cancellation of the retraining.
- Parameters:
autoPromotionResult
- Indicates whether the model version was promoted to be the active version after retraining or if there was an error with or cancellation of the retraining.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoPromotionResultReason
Indicates the reason for the
AutoPromotionResult
. For example, a model might not be promoted if its performance was worse than the active version, if there was an error during training, or if the retraining scheduler was usingMANUAL
promote mode. The model will be promoted inMANAGED
promote mode if the performance is better than the previous model.- Parameters:
autoPromotionResultReason
- Indicates the reason for theAutoPromotionResult
. For example, a model might not be promoted if its performance was worse than the active version, if there was an error during training, or if the retraining scheduler was usingMANUAL
promote mode. The model will be promoted inMANAGED
promote mode if the performance is better than the previous model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDiagnosticsOutputConfiguration
DescribeModelVersionResponse.Builder modelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfiguration modelDiagnosticsOutputConfiguration) The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.
- Parameters:
modelDiagnosticsOutputConfiguration
- The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDiagnosticsOutputConfiguration
default DescribeModelVersionResponse.Builder modelDiagnosticsOutputConfiguration(Consumer<ModelDiagnosticsOutputConfiguration.Builder> modelDiagnosticsOutputConfiguration) The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.
This is a convenience method that creates an instance of theModelDiagnosticsOutputConfiguration.Builder
avoiding the need to create one manually viaModelDiagnosticsOutputConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfiguration)
.- Parameters:
modelDiagnosticsOutputConfiguration
- a consumer that will call methods onModelDiagnosticsOutputConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelDiagnosticsResultsObject
DescribeModelVersionResponse.Builder modelDiagnosticsResultsObject(S3Object modelDiagnosticsResultsObject) The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.
- Parameters:
modelDiagnosticsResultsObject
- The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDiagnosticsResultsObject
default DescribeModelVersionResponse.Builder modelDiagnosticsResultsObject(Consumer<S3Object.Builder> modelDiagnosticsResultsObject) The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.
This is a convenience method that creates an instance of theS3Object.Builder
avoiding the need to create one manually viaS3Object.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelDiagnosticsResultsObject(S3Object)
.- Parameters:
modelDiagnosticsResultsObject
- a consumer that will call methods onS3Object.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelQuality
Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the model quality is poor based on training metrics, the value is
POOR_QUALITY_DETECTED
. Otherwise, the value isQUALITY_THRESHOLD_MET
.If the model is unlabeled, the model quality can't be assessed and the value of
ModelQuality
isCANNOT_DETERMINE_QUALITY
. In this situation, you can get a model quality assessment by adding labels to the input dataset and retraining the model.For information about using labels with your models, see Understanding labeling.
For information about improving the quality of a model, see Best practices with Amazon Lookout for Equipment.
- Parameters:
modelQuality
- Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the model quality is poor based on training metrics, the value isPOOR_QUALITY_DETECTED
. Otherwise, the value isQUALITY_THRESHOLD_MET
.If the model is unlabeled, the model quality can't be assessed and the value of
ModelQuality
isCANNOT_DETERMINE_QUALITY
. In this situation, you can get a model quality assessment by adding labels to the input dataset and retraining the model.For information about using labels with your models, see Understanding labeling.
For information about improving the quality of a model, see Best practices with Amazon Lookout for Equipment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelQuality
Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the model quality is poor based on training metrics, the value is
POOR_QUALITY_DETECTED
. Otherwise, the value isQUALITY_THRESHOLD_MET
.If the model is unlabeled, the model quality can't be assessed and the value of
ModelQuality
isCANNOT_DETERMINE_QUALITY
. In this situation, you can get a model quality assessment by adding labels to the input dataset and retraining the model.For information about using labels with your models, see Understanding labeling.
For information about improving the quality of a model, see Best practices with Amazon Lookout for Equipment.
- Parameters:
modelQuality
- Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the model quality is poor based on training metrics, the value isPOOR_QUALITY_DETECTED
. Otherwise, the value isQUALITY_THRESHOLD_MET
.If the model is unlabeled, the model quality can't be assessed and the value of
ModelQuality
isCANNOT_DETERMINE_QUALITY
. In this situation, you can get a model quality assessment by adding labels to the input dataset and retraining the model.For information about using labels with your models, see Understanding labeling.
For information about improving the quality of a model, see Best practices with Amazon Lookout for Equipment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-