@Generated(value="software.amazon.awssdk:codegen") public final class DescribeModelVersionResponse extends LookoutEquipmentResponse implements ToCopyableBuilder<DescribeModelVersionResponse.Builder,DescribeModelVersionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeModelVersionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
String |
autoPromotionResultReason()
Indicates the reason for the
AutoPromotionResult. |
static DescribeModelVersionResponse.Builder |
builder() |
Instant |
createdAt()
Indicates the time and date at which the machine learning model version was created.
|
DataPreProcessingConfiguration |
dataPreProcessingConfiguration()
Returns the value of the DataPreProcessingConfiguration property for this object.
|
String |
datasetArn()
The Amazon Resource Name (ARN) of the dataset used to train the model version.
|
String |
datasetName()
The name of the dataset used to train the model version.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
evaluationDataEndTime()
The date on which the data in the evaluation set began being gathered.
|
Instant |
evaluationDataStartTime()
The date on which the data in the evaluation set began being gathered.
|
String |
failedReason()
The failure message if the training of the model version failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
importedDataSizeInBytes()
The size in bytes of the imported data.
|
Instant |
importJobEndTime()
The date and time when the import job completed.
|
Instant |
importJobStartTime()
The date and time when the import job began.
|
LabelsInputConfiguration |
labelsInputConfiguration()
Returns the value of the LabelsInputConfiguration property for this object.
|
Instant |
lastUpdatedTime()
Indicates the last time the machine learning model version was updated.
|
String |
modelArn()
The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.
|
String |
modelMetrics()
Shows an aggregated summary, in JSON format, of the model's performance within the evaluation time range.
|
String |
modelName()
The name of the machine learning model that this version belongs to.
|
Long |
modelVersion()
The version of the machine learning model.
|
String |
modelVersionArn()
The Amazon Resource Name (ARN) of the model version.
|
String |
offCondition()
Indicates that the asset associated with this sensor has been shut off.
|
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.
|
Integer |
retrainingAvailableDataInDays()
Indicates the number of days of data used in the most recent scheduled retraining run.
|
String |
roleArn()
The Amazon Resource Name (ARN) of the role that was used to train the model version.
|
String |
schema()
The schema of the data used to train the model version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeModelVersionResponse.Builder> |
serializableBuilderClass() |
String |
serverSideKmsKeyId()
The identifier of the KMS key key used to encrypt model version data by Amazon Lookout for Equipment.
|
String |
sourceModelVersionArn()
If model version was imported, then this field is the arn of the source model version.
|
ModelVersionSourceType |
sourceType()
Indicates whether this model version was created by training or by importing.
|
String |
sourceTypeAsString()
Indicates whether this model version was created by training or by importing.
|
ModelVersionStatus |
status()
The current status of the model version.
|
String |
statusAsString()
The current status of the model version.
|
DescribeModelVersionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
trainingDataEndTime()
The date on which the training data finished being gathered.
|
Instant |
trainingDataStartTime()
The date on which the training data began being gathered.
|
Instant |
trainingExecutionEndTime()
The time when the training of the version completed.
|
Instant |
trainingExecutionStartTime()
The time when the training of the version began.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String modelName()
The name of the machine learning model that this version belongs to.
public final String modelArn()
The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.
public final Long modelVersion()
The version of the machine learning model.
public final String modelVersionArn()
The Amazon Resource Name (ARN) of the model version.
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, status will
return ModelVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ModelVersionStatuspublic 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, status will
return ModelVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ModelVersionStatuspublic 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, sourceType will
return ModelVersionSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sourceTypeAsString().
ModelVersionSourceTypepublic 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, sourceType will
return ModelVersionSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sourceTypeAsString().
ModelVersionSourceTypepublic final String datasetName()
The name of the dataset used to train the model version.
public final String datasetArn()
The Amazon Resource Name (ARN) of the dataset used to train the model version.
public final String schema()
The schema of the data used to train the model version.
public final LabelsInputConfiguration labelsInputConfiguration()
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.
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.
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.
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.
public final String roleArn()
The Amazon Resource Name (ARN) of the role that was used to train the model version.
public final DataPreProcessingConfiguration dataPreProcessingConfiguration()
public final Instant trainingExecutionStartTime()
The time when the training of the version began.
public final Instant trainingExecutionEndTime()
The time when the training of the version completed.
public final String failedReason()
The failure message if the training of the model version failed.
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.
public final Instant lastUpdatedTime()
Indicates the last time the machine learning model version was updated.
public final Instant createdAt()
Indicates the time and date at which the machine learning model version was created.
public final String serverSideKmsKeyId()
The identifier of the KMS key key used to encrypt model version data by Amazon Lookout for Equipment.
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.
public final String sourceModelVersionArn()
If model version was imported, then this field is the arn of the source model version.
public final Instant importJobStartTime()
The date and time when the import job began. This field appears if the model version was imported.
public final Instant importJobEndTime()
The date and time when the import job completed. This field appears if the model version was imported.
public final Long importedDataSizeInBytes()
The size in bytes of the imported data. This field appears if the model version was imported.
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.
public final Integer retrainingAvailableDataInDays()
Indicates the number of days of data used in the most recent scheduled retraining run.
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,
autoPromotionResult will return AutoPromotionResult.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from autoPromotionResultAsString().
AutoPromotionResultpublic 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,
autoPromotionResult will return AutoPromotionResult.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from autoPromotionResultAsString().
AutoPromotionResultpublic 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 using MANUAL promote mode. The model will be promoted in MANAGED promote
mode if the performance is better than the previous model.
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 using MANUAL promote mode. The model will be promoted in
MANAGED promote mode if the performance is better than the previous model.public DescribeModelVersionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeModelVersionResponse.Builder,DescribeModelVersionResponse>toBuilder in class AwsResponsepublic static DescribeModelVersionResponse.Builder builder()
public static Class<? extends DescribeModelVersionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.