Class ModelMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.lookoutvision.model.ModelMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ModelMetadata.Builder,ModelMetadata>
@Generated("software.amazon.awssdk:codegen") public final class ModelMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelMetadata.Builder,ModelMetadata>
Describes an Amazon Lookout for Vision model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModelMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelMetadata.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)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmodelArn()The Amazon Resource Name (ARN) of the model.StringmodelVersion()The version of the model.ModelPerformanceperformance()Performance metrics for the model.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ModelMetadata.Builder>serializableBuilderClass()ModelStatusstatus()The status of the model.StringstatusAsString()The status of the model.StringstatusMessage()The status message for the model.ModelMetadata.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
-
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.
-
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.
-
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. Not available until training has successfully completed.
- Returns:
- Performance metrics for the model. Not available until training has successfully completed.
-
toBuilder
public ModelMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModelMetadata.Builder,ModelMetadata>
-
builder
public static ModelMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelMetadata.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-