Class ProjectVersionDescription
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.ProjectVersionDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProjectVersionDescription.Builder,ProjectVersionDescription>
@Generated("software.amazon.awssdk:codegen") public final class ProjectVersionDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProjectVersionDescription.Builder,ProjectVersionDescription>
A description of a version of a Amazon Rekognition project version.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProjectVersionDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbaseModelVersion()The base detection model version used to create the project version.LongbillableTrainingTimeInSeconds()The duration, in seconds, that you were billed for a successful training of the model version.static ProjectVersionDescription.Builderbuilder()InstantcreationTimestamp()The Unix datetime for the date and time that training started.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)EvaluationResultevaluationResult()The training results.CustomizationFeaturefeature()The feature that was customized.StringfeatureAsString()The feature that was customized.CustomizationFeatureConfigfeatureConfig()Feature specific configuration that was applied during training.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.GroundTruthManifestmanifestSummary()The location of the summary manifest.IntegermaxInferenceUnits()The maximum number of inference units Amazon Rekognition uses to auto-scale the model.IntegerminInferenceUnits()The minimum number of inference units used by the model.OutputConfigoutputConfig()The location where training results are saved.StringprojectVersionArn()The Amazon Resource Name (ARN) of the project version.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ProjectVersionDescription.Builder>serializableBuilderClass()StringsourceProjectVersionArn()If the model version was copied from a different project,SourceProjectVersionArncontains the ARN of the source model version.ProjectVersionStatusstatus()The current status of the model version.StringstatusAsString()The current status of the model version.StringstatusMessage()A descriptive message for an error or warning that occurred.TestingDataResulttestingDataResult()Contains information about the testing results.ProjectVersionDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.TrainingDataResulttrainingDataResult()Contains information about the training results.InstanttrainingEndTimestamp()The Unix date and time that training of the model ended.StringversionDescription()A user-provided description of the project version.-
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
-
projectVersionArn
public final String projectVersionArn()
The Amazon Resource Name (ARN) of the project version.
- Returns:
- The Amazon Resource Name (ARN) of the project version.
-
creationTimestamp
public final Instant creationTimestamp()
The Unix datetime for the date and time that training started.
- Returns:
- The Unix datetime for the date and time that training started.
-
minInferenceUnits
public final Integer minInferenceUnits()
The minimum number of inference units used by the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.
- Returns:
- The minimum number of inference units used by the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.
-
status
public final ProjectVersionStatus 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 returnProjectVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the model version.
- See Also:
ProjectVersionStatus
-
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 returnProjectVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the model version.
- See Also:
ProjectVersionStatus
-
statusMessage
public final String statusMessage()
A descriptive message for an error or warning that occurred.
- Returns:
- A descriptive message for an error or warning that occurred.
-
billableTrainingTimeInSeconds
public final Long billableTrainingTimeInSeconds()
The duration, in seconds, that you were billed for a successful training of the model version. This value is only returned if the model version has been successfully trained.
- Returns:
- The duration, in seconds, that you were billed for a successful training of the model version. This value is only returned if the model version has been successfully trained.
-
trainingEndTimestamp
public final Instant trainingEndTimestamp()
The Unix date and time that training of the model ended.
- Returns:
- The Unix date and time that training of the model ended.
-
outputConfig
public final OutputConfig outputConfig()
The location where training results are saved.
- Returns:
- The location where training results are saved.
-
trainingDataResult
public final TrainingDataResult trainingDataResult()
Contains information about the training results.
- Returns:
- Contains information about the training results.
-
testingDataResult
public final TestingDataResult testingDataResult()
Contains information about the testing results.
- Returns:
- Contains information about the testing results.
-
evaluationResult
public final EvaluationResult evaluationResult()
The training results.
EvaluationResultis only returned if training is successful.- Returns:
- The training results.
EvaluationResultis only returned if training is successful.
-
manifestSummary
public final GroundTruthManifest manifestSummary()
The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.
- Returns:
- The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.
-
kmsKeyId
public final String kmsKeyId()
The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.
- Returns:
- The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.
-
maxInferenceUnits
public final Integer maxInferenceUnits()
The maximum number of inference units Amazon Rekognition uses to auto-scale the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.
- Returns:
- The maximum number of inference units Amazon Rekognition uses to auto-scale the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.
-
sourceProjectVersionArn
public final String sourceProjectVersionArn()
If the model version was copied from a different project,
SourceProjectVersionArncontains the ARN of the source model version.- Returns:
- If the model version was copied from a different project,
SourceProjectVersionArncontains the ARN of the source model version.
-
versionDescription
public final String versionDescription()
A user-provided description of the project version.
- Returns:
- A user-provided description of the project version.
-
feature
public final CustomizationFeature feature()
The feature that was customized.
If the service returns an enum value that is not available in the current SDK version,
featurewill returnCustomizationFeature.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfeatureAsString().- Returns:
- The feature that was customized.
- See Also:
CustomizationFeature
-
featureAsString
public final String featureAsString()
The feature that was customized.
If the service returns an enum value that is not available in the current SDK version,
featurewill returnCustomizationFeature.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfeatureAsString().- Returns:
- The feature that was customized.
- See Also:
CustomizationFeature
-
baseModelVersion
public final String baseModelVersion()
The base detection model version used to create the project version.
- Returns:
- The base detection model version used to create the project version.
-
featureConfig
public final CustomizationFeatureConfig featureConfig()
Feature specific configuration that was applied during training.
- Returns:
- Feature specific configuration that was applied during training.
-
toBuilder
public ProjectVersionDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProjectVersionDescription.Builder,ProjectVersionDescription>
-
builder
public static ProjectVersionDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProjectVersionDescription.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
-
-