public class ProjectVersionDescription
extends java.lang.Object
implements java.io.Serializable
The description of a version of a model.
Constructor and Description |
---|
ProjectVersionDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getBillableTrainingTimeInSeconds()
The duration, in seconds, that the model version has been billed for
training.
|
java.util.Date |
getCreationTimestamp()
The Unix datetime for the date and time that training started.
|
EvaluationResult |
getEvaluationResult()
The training results.
|
GroundTruthManifest |
getManifestSummary()
The location of the summary manifest.
|
java.lang.Integer |
getMinInferenceUnits()
The minimum number of inference units used by the model.
|
OutputConfig |
getOutputConfig()
The location where training results are saved.
|
java.lang.String |
getProjectVersionArn()
The Amazon Resource Name (ARN) of the model version.
|
java.lang.String |
getStatus()
The current status of the model version.
|
java.lang.String |
getStatusMessage()
A descriptive message for an error or warning that occurred.
|
TestingDataResult |
getTestingDataResult()
Contains information about the testing results.
|
TrainingDataResult |
getTrainingDataResult()
Contains information about the training results.
|
java.util.Date |
getTrainingEndTimestamp()
The Unix date and time that training of the model ended.
|
int |
hashCode() |
void |
setBillableTrainingTimeInSeconds(java.lang.Long billableTrainingTimeInSeconds)
The duration, in seconds, that the model version has been billed for
training.
|
void |
setCreationTimestamp(java.util.Date creationTimestamp)
The Unix datetime for the date and time that training started.
|
void |
setEvaluationResult(EvaluationResult evaluationResult)
The training results.
|
void |
setManifestSummary(GroundTruthManifest manifestSummary)
The location of the summary manifest.
|
void |
setMinInferenceUnits(java.lang.Integer minInferenceUnits)
The minimum number of inference units used by the model.
|
void |
setOutputConfig(OutputConfig outputConfig)
The location where training results are saved.
|
void |
setProjectVersionArn(java.lang.String projectVersionArn)
The Amazon Resource Name (ARN) of the model version.
|
void |
setStatus(ProjectVersionStatus status)
The current status of the model version.
|
void |
setStatus(java.lang.String status)
The current status of the model version.
|
void |
setStatusMessage(java.lang.String statusMessage)
A descriptive message for an error or warning that occurred.
|
void |
setTestingDataResult(TestingDataResult testingDataResult)
Contains information about the testing results.
|
void |
setTrainingDataResult(TrainingDataResult trainingDataResult)
Contains information about the training results.
|
void |
setTrainingEndTimestamp(java.util.Date trainingEndTimestamp)
The Unix date and time that training of the model ended.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ProjectVersionDescription |
withBillableTrainingTimeInSeconds(java.lang.Long billableTrainingTimeInSeconds)
The duration, in seconds, that the model version has been billed for
training.
|
ProjectVersionDescription |
withCreationTimestamp(java.util.Date creationTimestamp)
The Unix datetime for the date and time that training started.
|
ProjectVersionDescription |
withEvaluationResult(EvaluationResult evaluationResult)
The training results.
|
ProjectVersionDescription |
withManifestSummary(GroundTruthManifest manifestSummary)
The location of the summary manifest.
|
ProjectVersionDescription |
withMinInferenceUnits(java.lang.Integer minInferenceUnits)
The minimum number of inference units used by the model.
|
ProjectVersionDescription |
withOutputConfig(OutputConfig outputConfig)
The location where training results are saved.
|
ProjectVersionDescription |
withProjectVersionArn(java.lang.String projectVersionArn)
The Amazon Resource Name (ARN) of the model version.
|
ProjectVersionDescription |
withStatus(ProjectVersionStatus status)
The current status of the model version.
|
ProjectVersionDescription |
withStatus(java.lang.String status)
The current status of the model version.
|
ProjectVersionDescription |
withStatusMessage(java.lang.String statusMessage)
A descriptive message for an error or warning that occurred.
|
ProjectVersionDescription |
withTestingDataResult(TestingDataResult testingDataResult)
Contains information about the testing results.
|
ProjectVersionDescription |
withTrainingDataResult(TrainingDataResult trainingDataResult)
Contains information about the training results.
|
ProjectVersionDescription |
withTrainingEndTimestamp(java.util.Date trainingEndTimestamp)
The Unix date and time that training of the model ended.
|
public java.lang.String getProjectVersionArn()
The Amazon Resource Name (ARN) of the model version.
Constraints:
Length: 20 - 2048
Pattern:
(^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA
-Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
The Amazon Resource Name (ARN) of the model version.
public void setProjectVersionArn(java.lang.String projectVersionArn)
The Amazon Resource Name (ARN) of the model version.
Constraints:
Length: 20 - 2048
Pattern:
(^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA
-Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
projectVersionArn
- The Amazon Resource Name (ARN) of the model version.
public ProjectVersionDescription withProjectVersionArn(java.lang.String projectVersionArn)
The Amazon Resource Name (ARN) of the model version.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern:
(^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA
-Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
projectVersionArn
- The Amazon Resource Name (ARN) of the model version.
public java.util.Date getCreationTimestamp()
The Unix datetime for the date and time that training started.
The Unix datetime for the date and time that training started.
public void setCreationTimestamp(java.util.Date creationTimestamp)
The Unix datetime for the date and time that training started.
creationTimestamp
- The Unix datetime for the date and time that training started.
public ProjectVersionDescription withCreationTimestamp(java.util.Date creationTimestamp)
The Unix datetime for the date and time that training started.
Returns a reference to this object so that method calls can be chained together.
creationTimestamp
- The Unix datetime for the date and time that training started.
public java.lang.Integer getMinInferenceUnits()
The minimum number of inference units used by the model. For more information, see StartProjectVersion.
Constraints:
Range: 1 -
The minimum number of inference units used by the model. For more information, see StartProjectVersion.
public void setMinInferenceUnits(java.lang.Integer minInferenceUnits)
The minimum number of inference units used by the model. For more information, see StartProjectVersion.
Constraints:
Range: 1 -
minInferenceUnits
- The minimum number of inference units used by the model. For more information, see StartProjectVersion.
public ProjectVersionDescription withMinInferenceUnits(java.lang.Integer minInferenceUnits)
The minimum number of inference units used by the model. For more information, see StartProjectVersion.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
minInferenceUnits
- The minimum number of inference units used by the model. For more information, see StartProjectVersion.
public java.lang.String getStatus()
The current status of the model version.
Constraints:
Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED,
TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING
The current status of the model version.
ProjectVersionStatus
public void setStatus(java.lang.String status)
The current status of the model version.
Constraints:
Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED,
TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING
status
- The current status of the model version.
ProjectVersionStatus
public ProjectVersionDescription withStatus(java.lang.String status)
The current status of the model version.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED,
TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING
status
- The current status of the model version.
ProjectVersionStatus
public void setStatus(ProjectVersionStatus status)
The current status of the model version.
Constraints:
Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED,
TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING
status
- The current status of the model version.
ProjectVersionStatus
public ProjectVersionDescription withStatus(ProjectVersionStatus status)
The current status of the model version.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED,
TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING
status
- The current status of the model version.
ProjectVersionStatus
public java.lang.String getStatusMessage()
A descriptive message for an error or warning that occurred.
A descriptive message for an error or warning that occurred.
public void setStatusMessage(java.lang.String statusMessage)
A descriptive message for an error or warning that occurred.
statusMessage
- A descriptive message for an error or warning that occurred.
public ProjectVersionDescription withStatusMessage(java.lang.String statusMessage)
A descriptive message for an error or warning that occurred.
Returns a reference to this object so that method calls can be chained together.
statusMessage
- A descriptive message for an error or warning that occurred.
public java.lang.Long getBillableTrainingTimeInSeconds()
The duration, in seconds, that the model version has been billed for training. This value is only returned if the model version has been successfully trained.
Constraints:
Range: 0 -
The duration, in seconds, that the model version has been billed for training. This value is only returned if the model version has been successfully trained.
public void setBillableTrainingTimeInSeconds(java.lang.Long billableTrainingTimeInSeconds)
The duration, in seconds, that the model version has been billed for training. This value is only returned if the model version has been successfully trained.
Constraints:
Range: 0 -
billableTrainingTimeInSeconds
- The duration, in seconds, that the model version has been billed for training. This value is only returned if the model version has been successfully trained.
public ProjectVersionDescription withBillableTrainingTimeInSeconds(java.lang.Long billableTrainingTimeInSeconds)
The duration, in seconds, that the model version has been billed for training. This value is only returned if the model version has been successfully trained.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
billableTrainingTimeInSeconds
- The duration, in seconds, that the model version has been billed for training. This value is only returned if the model version has been successfully trained.
public java.util.Date getTrainingEndTimestamp()
The Unix date and time that training of the model ended.
The Unix date and time that training of the model ended.
public void setTrainingEndTimestamp(java.util.Date trainingEndTimestamp)
The Unix date and time that training of the model ended.
trainingEndTimestamp
- The Unix date and time that training of the model ended.
public ProjectVersionDescription withTrainingEndTimestamp(java.util.Date trainingEndTimestamp)
The Unix date and time that training of the model ended.
Returns a reference to this object so that method calls can be chained together.
trainingEndTimestamp
- The Unix date and time that training of the model ended.
public OutputConfig getOutputConfig()
The location where training results are saved.
The location where training results are saved.
public void setOutputConfig(OutputConfig outputConfig)
The location where training results are saved.
outputConfig
- The location where training results are saved.
public ProjectVersionDescription withOutputConfig(OutputConfig outputConfig)
The location where training results are saved.
Returns a reference to this object so that method calls can be chained together.
outputConfig
- The location where training results are saved.
public TrainingDataResult getTrainingDataResult()
Contains information about the training results.
Contains information about the training results.
public void setTrainingDataResult(TrainingDataResult trainingDataResult)
Contains information about the training results.
trainingDataResult
- Contains information about the training results.
public ProjectVersionDescription withTrainingDataResult(TrainingDataResult trainingDataResult)
Contains information about the training results.
Returns a reference to this object so that method calls can be chained together.
trainingDataResult
- Contains information about the training results.
public TestingDataResult getTestingDataResult()
Contains information about the testing results.
Contains information about the testing results.
public void setTestingDataResult(TestingDataResult testingDataResult)
Contains information about the testing results.
testingDataResult
- Contains information about the testing results.
public ProjectVersionDescription withTestingDataResult(TestingDataResult testingDataResult)
Contains information about the testing results.
Returns a reference to this object so that method calls can be chained together.
testingDataResult
- Contains information about the testing results.
public EvaluationResult getEvaluationResult()
The training results. EvaluationResult
is only returned if
training is successful.
The training results. EvaluationResult
is only
returned if training is successful.
public void setEvaluationResult(EvaluationResult evaluationResult)
The training results. EvaluationResult
is only returned if
training is successful.
evaluationResult
-
The training results. EvaluationResult
is only
returned if training is successful.
public ProjectVersionDescription withEvaluationResult(EvaluationResult evaluationResult)
The training results. EvaluationResult
is only returned if
training is successful.
Returns a reference to this object so that method calls can be chained together.
evaluationResult
-
The training results. EvaluationResult
is only
returned if training is successful.
public GroundTruthManifest getManifestSummary()
The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.
The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.
public void setManifestSummary(GroundTruthManifest manifestSummary)
The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.
manifestSummary
- The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.
public ProjectVersionDescription withManifestSummary(GroundTruthManifest manifestSummary)
The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.
Returns a reference to this object so that method calls can be chained together.
manifestSummary
- The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.