Class DescribeModelVersionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentResponse
-
- software.amazon.awssdk.services.lookoutequipment.model.DescribeModelVersionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeModelVersionResponse.Builder,DescribeModelVersionResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeModelVersionResponse extends LookoutEquipmentResponse implements ToCopyableBuilder<DescribeModelVersionResponse.Builder,DescribeModelVersionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeModelVersionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoPromotionResultautoPromotionResult()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.StringautoPromotionResultAsString()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.StringautoPromotionResultReason()Indicates the reason for theAutoPromotionResult.static DescribeModelVersionResponse.Builderbuilder()InstantcreatedAt()Indicates the time and date at which the machine learning model version was created.DataPreProcessingConfigurationdataPreProcessingConfiguration()Returns the value of the DataPreProcessingConfiguration property for this object.StringdatasetArn()The Amazon Resource Name (ARN) of the dataset used to train the model version.StringdatasetName()The name of the dataset used to train the model version.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantevaluationDataEndTime()The date on which the data in the evaluation set began being gathered.InstantevaluationDataStartTime()The date on which the data in the evaluation set began being gathered.StringfailedReason()The failure message if the training of the model version failed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongimportedDataSizeInBytes()The size in bytes of the imported data.InstantimportJobEndTime()The date and time when the import job completed.InstantimportJobStartTime()The date and time when the import job began.LabelsInputConfigurationlabelsInputConfiguration()Returns the value of the LabelsInputConfiguration property for this object.InstantlastUpdatedTime()Indicates the last time the machine learning model version was updated.StringmodelArn()The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.ModelDiagnosticsOutputConfigurationmodelDiagnosticsOutputConfiguration()The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.S3ObjectmodelDiagnosticsResultsObject()The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.StringmodelMetrics()Shows an aggregated summary, in JSON format, of the model's performance within the evaluation time range.StringmodelName()The name of the machine learning model that this version belongs to.ModelQualitymodelQuality()Provides a quality assessment for a model that uses labels.StringmodelQualityAsString()Provides a quality assessment for a model that uses labels.LongmodelVersion()The version of the machine learning model.StringmodelVersionArn()The Amazon Resource Name (ARN) of the model version.StringoffCondition()Indicates that the asset associated with this sensor has been shut off.StringpriorModelMetrics()If the model version was retrained, this field shows a summary of the performance of the prior model on the new training range.IntegerretrainingAvailableDataInDays()Indicates the number of days of data used in the most recent scheduled retraining run.StringroleArn()The Amazon Resource Name (ARN) of the role that was used to train the model version.Stringschema()The schema of the data used to train the model version.List<SdkField<?>>sdkFields()static Class<? extends DescribeModelVersionResponse.Builder>serializableBuilderClass()StringserverSideKmsKeyId()The identifier of the KMS key key used to encrypt model version data by Amazon Lookout for Equipment.StringsourceModelVersionArn()If model version was imported, then this field is the arn of the source model version.ModelVersionSourceTypesourceType()Indicates whether this model version was created by training or by importing.StringsourceTypeAsString()Indicates whether this model version was created by training or by importing.ModelVersionStatusstatus()The current status of the model version.StringstatusAsString()The current status of the model version.DescribeModelVersionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstanttrainingDataEndTime()The date on which the training data finished being gathered.InstanttrainingDataStartTime()The date on which the training data began being gathered.InstanttrainingExecutionEndTime()The time when the training of the version completed.InstanttrainingExecutionStartTime()The time when the training of the version began.-
Methods inherited from class software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
modelName
public final String modelName()
The name of the machine learning model that this version belongs to.
- Returns:
- The name of the machine learning model that this version belongs to.
-
modelArn
public final String modelArn()
The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.
- Returns:
- The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.
-
modelVersion
public final Long modelVersion()
The version of the machine learning model.
- Returns:
- The version of the machine learning model.
-
modelVersionArn
public final String modelVersionArn()
The Amazon Resource Name (ARN) of the model version.
- Returns:
- The Amazon Resource Name (ARN) of the model version.
-
status
public final ModelVersionStatus status()
The current status of the model version.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnModelVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the model version.
- See Also:
ModelVersionStatus
-
statusAsString
public final String statusAsString()
The current status of the model version.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnModelVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the model version.
- See Also:
ModelVersionStatus
-
sourceType
public final ModelVersionSourceType sourceType()
Indicates whether this model version was created by training or by importing.
If the service returns an enum value that is not available in the current SDK version,
sourceTypewill returnModelVersionSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- Indicates whether this model version was created by training or by importing.
- See Also:
ModelVersionSourceType
-
sourceTypeAsString
public final String sourceTypeAsString()
Indicates whether this model version was created by training or by importing.
If the service returns an enum value that is not available in the current SDK version,
sourceTypewill returnModelVersionSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- Indicates whether this model version was created by training or by importing.
- See Also:
ModelVersionSourceType
-
datasetName
public final String datasetName()
The name of the dataset used to train the model version.
- Returns:
- The name of the dataset used to train the model version.
-
datasetArn
public final String datasetArn()
The Amazon Resource Name (ARN) of the dataset used to train the model version.
- Returns:
- The Amazon Resource Name (ARN) of the dataset used to train the model version.
-
schema
public final String schema()
The schema of the data used to train the model version.
- Returns:
- The schema of the data used to train the model version.
-
labelsInputConfiguration
public final LabelsInputConfiguration labelsInputConfiguration()
Returns the value of the LabelsInputConfiguration property for this object.- Returns:
- The value of the LabelsInputConfiguration property for this object.
-
trainingDataStartTime
public final Instant 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:
- 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.
-
trainingDataEndTime
public final Instant 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:
- 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.
-
evaluationDataStartTime
public final Instant 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:
- 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.
-
evaluationDataEndTime
public final Instant 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:
- 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.
-
roleArn
public final String roleArn()
The Amazon Resource Name (ARN) of the role that was used to train the model version.
- Returns:
- The Amazon Resource Name (ARN) of the role that was used to train the model version.
-
dataPreProcessingConfiguration
public final DataPreProcessingConfiguration dataPreProcessingConfiguration()
Returns the value of the DataPreProcessingConfiguration property for this object.- Returns:
- The value of the DataPreProcessingConfiguration property for this object.
-
trainingExecutionStartTime
public final Instant trainingExecutionStartTime()
The time when the training of the version began.
- Returns:
- The time when the training of the version began.
-
trainingExecutionEndTime
public final Instant trainingExecutionEndTime()
The time when the training of the version completed.
- Returns:
- The time when the training of the version completed.
-
failedReason
public final String failedReason()
The failure message if the training of the model version failed.
- Returns:
- The failure message if the training of the model version failed.
-
modelMetrics
public final String 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:
- 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.
-
lastUpdatedTime
public final Instant lastUpdatedTime()
Indicates the last time the machine learning model version was updated.
- Returns:
- Indicates the last time the machine learning model version was updated.
-
createdAt
public final Instant createdAt()
Indicates the time and date at which the machine learning model version was created.
- Returns:
- Indicates the time and date at which the machine learning model version was created.
-
serverSideKmsKeyId
public final String serverSideKmsKeyId()
The identifier of the KMS key key used to encrypt model version data by Amazon Lookout for Equipment.
- Returns:
- The identifier of the KMS key key used to encrypt model version data by Amazon Lookout for Equipment.
-
offCondition
public final String 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:
- 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.
-
sourceModelVersionArn
public final String sourceModelVersionArn()
If model version was imported, then this field is the arn of the source model version.
- Returns:
- If model version was imported, then this field is the arn of the source model version.
-
importJobStartTime
public final Instant importJobStartTime()
The date and time when the import job began. This field appears if the model version was imported.
- Returns:
- The date and time when the import job began. This field appears if the model version was imported.
-
importJobEndTime
public final Instant importJobEndTime()
The date and time when the import job completed. This field appears if the model version was imported.
- Returns:
- The date and time when the import job completed. This field appears if the model version was imported.
-
importedDataSizeInBytes
public final Long importedDataSizeInBytes()
The size in bytes of the imported data. This field appears if the model version was imported.
- Returns:
- The size in bytes of the imported data. This field appears if the model version was imported.
-
priorModelMetrics
public final 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. You can use the information in this JSON-formatted object to compare the new model version and the prior model version.
- Returns:
- 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.
-
retrainingAvailableDataInDays
public final Integer retrainingAvailableDataInDays()
Indicates the number of days of data used in the most recent scheduled retraining run.
- Returns:
- Indicates the number of days of data used in the most recent scheduled retraining run.
-
autoPromotionResult
public final 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.
If the service returns an enum value that is not available in the current SDK version,
autoPromotionResultwill returnAutoPromotionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautoPromotionResultAsString().- Returns:
- 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.
- See Also:
AutoPromotionResult
-
autoPromotionResultAsString
public final String autoPromotionResultAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
autoPromotionResultwill returnAutoPromotionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautoPromotionResultAsString().- Returns:
- 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.
- See Also:
AutoPromotionResult
-
autoPromotionResultReason
public final String 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 usingMANUALpromote mode. The model will be promoted inMANAGEDpromote mode if the performance is better than the previous model.- Returns:
- 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 usingMANUALpromote mode. The model will be promoted inMANAGEDpromote mode if the performance is better than the previous model.
-
modelDiagnosticsOutputConfiguration
public final ModelDiagnosticsOutputConfiguration modelDiagnosticsOutputConfiguration()
The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.
- Returns:
- The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.
-
modelDiagnosticsResultsObject
public final S3Object modelDiagnosticsResultsObject()
The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.
- Returns:
- The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.
-
modelQuality
public final ModelQuality 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
ModelQualityisCANNOT_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.
If the service returns an enum value that is not available in the current SDK version,
modelQualitywill returnModelQuality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodelQualityAsString().- Returns:
- 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
ModelQualityisCANNOT_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.
- See Also:
ModelQuality
-
modelQualityAsString
public final String modelQualityAsString()
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
ModelQualityisCANNOT_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.
If the service returns an enum value that is not available in the current SDK version,
modelQualitywill returnModelQuality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodelQualityAsString().- Returns:
- 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
ModelQualityisCANNOT_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.
- See Also:
ModelQuality
-
toBuilder
public DescribeModelVersionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeModelVersionResponse.Builder,DescribeModelVersionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeModelVersionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeModelVersionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-