@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProjectVersionDescription extends Object implements Serializable, Cloneable, StructuredPojo
A description of a version of an Amazon Rekognition Custom Labels model.
Constructor and Description |
---|
ProjectVersionDescription() |
Modifier and Type | Method and Description |
---|---|
ProjectVersionDescription |
clone() |
boolean |
equals(Object obj) |
Long |
getBillableTrainingTimeInSeconds()
The duration, in seconds, that you were billed for a successful training of the model version.
|
Date |
getCreationTimestamp()
The Unix datetime for the date and time that training started.
|
EvaluationResult |
getEvaluationResult()
The training results.
|
String |
getKmsKeyId()
The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during
training.
|
GroundTruthManifest |
getManifestSummary()
The location of the summary manifest.
|
Integer |
getMaxInferenceUnits()
The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model.
|
Integer |
getMinInferenceUnits()
The minimum number of inference units used by the model.
|
OutputConfig |
getOutputConfig()
The location where training results are saved.
|
String |
getProjectVersionArn()
The Amazon Resource Name (ARN) of the model version.
|
String |
getSourceProjectVersionArn()
If the model version was copied from a different project,
SourceProjectVersionArn contains the ARN
of the source model version. |
String |
getStatus()
The current status of the model version.
|
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.
|
Date |
getTrainingEndTimestamp()
The Unix date and time that training of the model ended.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBillableTrainingTimeInSeconds(Long billableTrainingTimeInSeconds)
The duration, in seconds, that you were billed for a successful training of the model version.
|
void |
setCreationTimestamp(Date creationTimestamp)
The Unix datetime for the date and time that training started.
|
void |
setEvaluationResult(EvaluationResult evaluationResult)
The training results.
|
void |
setKmsKeyId(String kmsKeyId)
The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during
training.
|
void |
setManifestSummary(GroundTruthManifest manifestSummary)
The location of the summary manifest.
|
void |
setMaxInferenceUnits(Integer maxInferenceUnits)
The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model.
|
void |
setMinInferenceUnits(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(String projectVersionArn)
The Amazon Resource Name (ARN) of the model version.
|
void |
setSourceProjectVersionArn(String sourceProjectVersionArn)
If the model version was copied from a different project,
SourceProjectVersionArn contains the ARN
of the source model version. |
void |
setStatus(String status)
The current status of the model version.
|
void |
setStatusMessage(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(Date trainingEndTimestamp)
The Unix date and time that training of the model ended.
|
String |
toString()
Returns a string representation of this object.
|
ProjectVersionDescription |
withBillableTrainingTimeInSeconds(Long billableTrainingTimeInSeconds)
The duration, in seconds, that you were billed for a successful training of the model version.
|
ProjectVersionDescription |
withCreationTimestamp(Date creationTimestamp)
The Unix datetime for the date and time that training started.
|
ProjectVersionDescription |
withEvaluationResult(EvaluationResult evaluationResult)
The training results.
|
ProjectVersionDescription |
withKmsKeyId(String kmsKeyId)
The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during
training.
|
ProjectVersionDescription |
withManifestSummary(GroundTruthManifest manifestSummary)
The location of the summary manifest.
|
ProjectVersionDescription |
withMaxInferenceUnits(Integer maxInferenceUnits)
The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model.
|
ProjectVersionDescription |
withMinInferenceUnits(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(String projectVersionArn)
The Amazon Resource Name (ARN) of the model version.
|
ProjectVersionDescription |
withSourceProjectVersionArn(String sourceProjectVersionArn)
If the model version was copied from a different project,
SourceProjectVersionArn contains the ARN
of the source model version. |
ProjectVersionDescription |
withStatus(ProjectVersionStatus status)
The current status of the model version.
|
ProjectVersionDescription |
withStatus(String status)
The current status of the model version.
|
ProjectVersionDescription |
withStatusMessage(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(Date trainingEndTimestamp)
The Unix date and time that training of the model ended.
|
public void setProjectVersionArn(String projectVersionArn)
The Amazon Resource Name (ARN) of the model version.
projectVersionArn
- The Amazon Resource Name (ARN) of the model version.public String getProjectVersionArn()
The Amazon Resource Name (ARN) of the model version.
public ProjectVersionDescription withProjectVersionArn(String projectVersionArn)
The Amazon Resource Name (ARN) of the model version.
projectVersionArn
- The Amazon Resource Name (ARN) of the model version.public void setCreationTimestamp(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 Date getCreationTimestamp()
The Unix datetime for the date and time that training started.
public ProjectVersionDescription withCreationTimestamp(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 void setMinInferenceUnits(Integer minInferenceUnits)
The minimum number of inference units used by the model. For more information, see StartProjectVersion.
minInferenceUnits
- The minimum number of inference units used by the model. For more information, see
StartProjectVersion.public Integer getMinInferenceUnits()
The minimum number of inference units used by the model. For more information, see StartProjectVersion.
public ProjectVersionDescription withMinInferenceUnits(Integer minInferenceUnits)
The minimum number of inference units used by the model. For more information, see StartProjectVersion.
minInferenceUnits
- The minimum number of inference units used by the model. For more information, see
StartProjectVersion.public void setStatus(String status)
The current status of the model version.
status
- The current status of the model version.ProjectVersionStatus
public String getStatus()
The current status of the model version.
ProjectVersionStatus
public ProjectVersionDescription withStatus(String status)
The current status of the model version.
status
- The current status of the model version.ProjectVersionStatus
public ProjectVersionDescription withStatus(ProjectVersionStatus status)
The current status of the model version.
status
- The current status of the model version.ProjectVersionStatus
public void setStatusMessage(String statusMessage)
A descriptive message for an error or warning that occurred.
statusMessage
- A descriptive message for an error or warning that occurred.public String getStatusMessage()
A descriptive message for an error or warning that occurred.
public ProjectVersionDescription withStatusMessage(String statusMessage)
A descriptive message for an error or warning that occurred.
statusMessage
- A descriptive message for an error or warning that occurred.public void setBillableTrainingTimeInSeconds(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.
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.public Long getBillableTrainingTimeInSeconds()
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.
public ProjectVersionDescription withBillableTrainingTimeInSeconds(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.
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.public void setTrainingEndTimestamp(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 Date getTrainingEndTimestamp()
The Unix date and time that training of the model ended.
public ProjectVersionDescription withTrainingEndTimestamp(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 void setOutputConfig(OutputConfig outputConfig)
The location where training results are saved.
outputConfig
- The location where training results are saved.public OutputConfig getOutputConfig()
The location where training results are saved.
public ProjectVersionDescription withOutputConfig(OutputConfig outputConfig)
The location where training results are saved.
outputConfig
- The location where training results are saved.public void setTrainingDataResult(TrainingDataResult trainingDataResult)
Contains information about the training results.
trainingDataResult
- Contains information about the training results.public TrainingDataResult getTrainingDataResult()
Contains information about the training results.
public ProjectVersionDescription withTrainingDataResult(TrainingDataResult trainingDataResult)
Contains information about the training results.
trainingDataResult
- Contains information about the training results.public void setTestingDataResult(TestingDataResult testingDataResult)
Contains information about the testing results.
testingDataResult
- Contains information about the testing results.public TestingDataResult getTestingDataResult()
Contains information about the testing results.
public ProjectVersionDescription withTestingDataResult(TestingDataResult testingDataResult)
Contains information about the testing results.
testingDataResult
- Contains information about the testing results.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 EvaluationResult getEvaluationResult()
The training results. EvaluationResult
is only returned if training is successful.
EvaluationResult
is only returned if training is successful.public ProjectVersionDescription withEvaluationResult(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 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 GroundTruthManifest getManifestSummary()
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.
manifestSummary
- The location of the summary manifest. The summary manifest provides aggregate data validation results for
the training and test datasets.public void setKmsKeyId(String kmsKeyId)
The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.
kmsKeyId
- The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model
during training.public String getKmsKeyId()
The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.
public ProjectVersionDescription withKmsKeyId(String kmsKeyId)
The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.
kmsKeyId
- The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model
during training.public void setMaxInferenceUnits(Integer maxInferenceUnits)
The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model. For more information, see StartProjectVersion.
maxInferenceUnits
- The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model. For
more information, see StartProjectVersion.public Integer getMaxInferenceUnits()
The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model. For more information, see StartProjectVersion.
public ProjectVersionDescription withMaxInferenceUnits(Integer maxInferenceUnits)
The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model. For more information, see StartProjectVersion.
maxInferenceUnits
- The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model. For
more information, see StartProjectVersion.public void setSourceProjectVersionArn(String sourceProjectVersionArn)
If the model version was copied from a different project, SourceProjectVersionArn
contains the ARN
of the source model version.
sourceProjectVersionArn
- If the model version was copied from a different project, SourceProjectVersionArn
contains
the ARN of the source model version.public String getSourceProjectVersionArn()
If the model version was copied from a different project, SourceProjectVersionArn
contains the ARN
of the source model version.
SourceProjectVersionArn
contains
the ARN of the source model version.public ProjectVersionDescription withSourceProjectVersionArn(String sourceProjectVersionArn)
If the model version was copied from a different project, SourceProjectVersionArn
contains the ARN
of the source model version.
sourceProjectVersionArn
- If the model version was copied from a different project, SourceProjectVersionArn
contains
the ARN of the source model version.public String toString()
toString
in class Object
Object.toString()
public ProjectVersionDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.