Class ModelDescription
- java.lang.Object
-
- software.amazon.awssdk.services.lookoutvision.model.ModelDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ModelDescription.Builder,ModelDescription>
@Generated("software.amazon.awssdk:codegen") public final class ModelDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelDescription.Builder,ModelDescription>
Describes an Amazon Lookout for Vision model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModelDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelDescription.Builderbuilder()InstantcreationTimestamp()The unix timestamp for the date and time that the model was created.Stringdescription()The description for the model.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantevaluationEndTimestamp()The unix timestamp for the date and time that the evaluation ended.OutputS3ObjectevaluationManifest()The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.OutputS3ObjectevaluationResult()The S3 location where Amazon Lookout for Vision saves the performance metrics.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()The identifer for the AWS Key Management Service (AWS KMS) key that was used to encrypt the model during training.IntegermaxInferenceUnits()The maximum number of inference units Amazon Lookout for Vision uses to auto-scale the model.IntegerminInferenceUnits()The minimum number of inference units used by the model.StringmodelArn()The Amazon Resource Name (ARN) of the model.StringmodelVersion()The version of the modelOutputConfigoutputConfig()The S3 location where Amazon Lookout for Vision saves model training files.ModelPerformanceperformance()Performance metrics for the model.List<SdkField<?>>sdkFields()static Class<? extends ModelDescription.Builder>serializableBuilderClass()ModelStatusstatus()The status of the model.StringstatusAsString()The status of the model.StringstatusMessage()The status message for the model.ModelDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
modelVersion
public final String modelVersion()
The version of the model
- Returns:
- The version of the model
-
modelArn
public final String modelArn()
The Amazon Resource Name (ARN) of the model.
- Returns:
- The Amazon Resource Name (ARN) of the model.
-
creationTimestamp
public final Instant creationTimestamp()
The unix timestamp for the date and time that the model was created.
- Returns:
- The unix timestamp for the date and time that the model was created.
-
description
public final String description()
The description for the model.
- Returns:
- The description for the model.
-
status
public final ModelStatus status()
The status of the model.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the model.
- See Also:
ModelStatus
-
statusAsString
public final String statusAsString()
The status of the model.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the model.
- See Also:
ModelStatus
-
statusMessage
public final String statusMessage()
The status message for the model.
- Returns:
- The status message for the model.
-
performance
public final ModelPerformance performance()
Performance metrics for the model. Created during training.
- Returns:
- Performance metrics for the model. Created during training.
-
outputConfig
public final OutputConfig outputConfig()
The S3 location where Amazon Lookout for Vision saves model training files.
- Returns:
- The S3 location where Amazon Lookout for Vision saves model training files.
-
evaluationManifest
public final OutputS3Object evaluationManifest()
The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.
- Returns:
- The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.
-
evaluationResult
public final OutputS3Object evaluationResult()
The S3 location where Amazon Lookout for Vision saves the performance metrics.
- Returns:
- The S3 location where Amazon Lookout for Vision saves the performance metrics.
-
evaluationEndTimestamp
public final Instant evaluationEndTimestamp()
The unix timestamp for the date and time that the evaluation ended.
- Returns:
- The unix timestamp for the date and time that the evaluation ended.
-
kmsKeyId
public final String kmsKeyId()
The identifer for the AWS Key Management Service (AWS KMS) key that was used to encrypt the model during training.
- Returns:
- The identifer for the AWS Key Management Service (AWS KMS) key that was used to encrypt the model during training.
-
minInferenceUnits
public final Integer minInferenceUnits()
The minimum number of inference units used by the model. For more information, see StartModel
- Returns:
- The minimum number of inference units used by the model. For more information, see StartModel
-
maxInferenceUnits
public final Integer maxInferenceUnits()
The maximum number of inference units Amazon Lookout for Vision uses to auto-scale the model. For more information, see StartModel.
- Returns:
- The maximum number of inference units Amazon Lookout for Vision uses to auto-scale the model. For more information, see StartModel.
-
toBuilder
public ModelDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModelDescription.Builder,ModelDescription>
-
builder
public static ModelDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelDescription.Builder> serializableBuilderClass()
-
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.
-
-