Interface ProjectVersionDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProjectVersionDescription.Builder,ProjectVersionDescription>,SdkBuilder<ProjectVersionDescription.Builder,ProjectVersionDescription>,SdkPojo
- Enclosing class:
- ProjectVersionDescription
public static interface ProjectVersionDescription.Builder extends SdkPojo, CopyableBuilder<ProjectVersionDescription.Builder,ProjectVersionDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProjectVersionDescription.BuilderbaseModelVersion(String baseModelVersion)The base detection model version used to create the project version.ProjectVersionDescription.BuilderbillableTrainingTimeInSeconds(Long billableTrainingTimeInSeconds)The duration, in seconds, that you were billed for a successful training of the model version.ProjectVersionDescription.BuildercreationTimestamp(Instant creationTimestamp)The Unix datetime for the date and time that training started.default ProjectVersionDescription.BuilderevaluationResult(Consumer<EvaluationResult.Builder> evaluationResult)The training results.ProjectVersionDescription.BuilderevaluationResult(EvaluationResult evaluationResult)The training results.ProjectVersionDescription.Builderfeature(String feature)The feature that was customized.ProjectVersionDescription.Builderfeature(CustomizationFeature feature)The feature that was customized.default ProjectVersionDescription.BuilderfeatureConfig(Consumer<CustomizationFeatureConfig.Builder> featureConfig)Feature specific configuration that was applied during training.ProjectVersionDescription.BuilderfeatureConfig(CustomizationFeatureConfig featureConfig)Feature specific configuration that was applied during training.ProjectVersionDescription.BuilderkmsKeyId(String kmsKeyId)The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.default ProjectVersionDescription.BuildermanifestSummary(Consumer<GroundTruthManifest.Builder> manifestSummary)The location of the summary manifest.ProjectVersionDescription.BuildermanifestSummary(GroundTruthManifest manifestSummary)The location of the summary manifest.ProjectVersionDescription.BuildermaxInferenceUnits(Integer maxInferenceUnits)The maximum number of inference units Amazon Rekognition uses to auto-scale the model.ProjectVersionDescription.BuilderminInferenceUnits(Integer minInferenceUnits)The minimum number of inference units used by the model.default ProjectVersionDescription.BuilderoutputConfig(Consumer<OutputConfig.Builder> outputConfig)The location where training results are saved.ProjectVersionDescription.BuilderoutputConfig(OutputConfig outputConfig)The location where training results are saved.ProjectVersionDescription.BuilderprojectVersionArn(String projectVersionArn)The Amazon Resource Name (ARN) of the project version.ProjectVersionDescription.BuildersourceProjectVersionArn(String sourceProjectVersionArn)If the model version was copied from a different project,SourceProjectVersionArncontains the ARN of the source model version.ProjectVersionDescription.Builderstatus(String status)The current status of the model version.ProjectVersionDescription.Builderstatus(ProjectVersionStatus status)The current status of the model version.ProjectVersionDescription.BuilderstatusMessage(String statusMessage)A descriptive message for an error or warning that occurred.default ProjectVersionDescription.BuildertestingDataResult(Consumer<TestingDataResult.Builder> testingDataResult)Contains information about the testing results.ProjectVersionDescription.BuildertestingDataResult(TestingDataResult testingDataResult)Contains information about the testing results.default ProjectVersionDescription.BuildertrainingDataResult(Consumer<TrainingDataResult.Builder> trainingDataResult)Contains information about the training results.ProjectVersionDescription.BuildertrainingDataResult(TrainingDataResult trainingDataResult)Contains information about the training results.ProjectVersionDescription.BuildertrainingEndTimestamp(Instant trainingEndTimestamp)The Unix date and time that training of the model ended.ProjectVersionDescription.BuilderversionDescription(String versionDescription)A user-provided description of the project version.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
projectVersionArn
ProjectVersionDescription.Builder projectVersionArn(String projectVersionArn)
The Amazon Resource Name (ARN) of the project version.
- Parameters:
projectVersionArn- The Amazon Resource Name (ARN) of the project version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
ProjectVersionDescription.Builder creationTimestamp(Instant creationTimestamp)
The Unix datetime for the date and time that training started.
- Parameters:
creationTimestamp- The Unix datetime for the date and time that training started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minInferenceUnits
ProjectVersionDescription.Builder minInferenceUnits(Integer minInferenceUnits)
The minimum number of inference units used by the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.
- Parameters:
minInferenceUnits- The minimum number of inference units used by the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ProjectVersionDescription.Builder status(String status)
The current status of the model version.
- Parameters:
status- The current status of the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProjectVersionStatus,ProjectVersionStatus
-
status
ProjectVersionDescription.Builder status(ProjectVersionStatus status)
The current status of the model version.
- Parameters:
status- The current status of the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProjectVersionStatus,ProjectVersionStatus
-
statusMessage
ProjectVersionDescription.Builder statusMessage(String statusMessage)
A descriptive message for an error or warning that occurred.
- Parameters:
statusMessage- A descriptive message for an error or warning that occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billableTrainingTimeInSeconds
ProjectVersionDescription.Builder billableTrainingTimeInSeconds(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
trainingEndTimestamp
ProjectVersionDescription.Builder trainingEndTimestamp(Instant trainingEndTimestamp)
The Unix date and time that training of the model ended.
- Parameters:
trainingEndTimestamp- The Unix date and time that training of the model ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
ProjectVersionDescription.Builder outputConfig(OutputConfig outputConfig)
The location where training results are saved.
- Parameters:
outputConfig- The location where training results are saved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default ProjectVersionDescription.Builder outputConfig(Consumer<OutputConfig.Builder> outputConfig)
The location where training results are saved.
This is a convenience method that creates an instance of theOutputConfig.Builderavoiding the need to create one manually viaOutputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(OutputConfig).- Parameters:
outputConfig- a consumer that will call methods onOutputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputConfig(OutputConfig)
-
trainingDataResult
ProjectVersionDescription.Builder trainingDataResult(TrainingDataResult trainingDataResult)
Contains information about the training results.
- Parameters:
trainingDataResult- Contains information about the training results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataResult
default ProjectVersionDescription.Builder trainingDataResult(Consumer<TrainingDataResult.Builder> trainingDataResult)
Contains information about the training results.
This is a convenience method that creates an instance of theTrainingDataResult.Builderavoiding the need to create one manually viaTrainingDataResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrainingDataResult(TrainingDataResult).- Parameters:
trainingDataResult- a consumer that will call methods onTrainingDataResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
trainingDataResult(TrainingDataResult)
-
testingDataResult
ProjectVersionDescription.Builder testingDataResult(TestingDataResult testingDataResult)
Contains information about the testing results.
- Parameters:
testingDataResult- Contains information about the testing results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testingDataResult
default ProjectVersionDescription.Builder testingDataResult(Consumer<TestingDataResult.Builder> testingDataResult)
Contains information about the testing results.
This is a convenience method that creates an instance of theTestingDataResult.Builderavoiding the need to create one manually viaTestingDataResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestingDataResult(TestingDataResult).- Parameters:
testingDataResult- a consumer that will call methods onTestingDataResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
testingDataResult(TestingDataResult)
-
evaluationResult
ProjectVersionDescription.Builder evaluationResult(EvaluationResult evaluationResult)
The training results.
EvaluationResultis only returned if training is successful.- Parameters:
evaluationResult- The training results.EvaluationResultis only returned if training is successful.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationResult
default ProjectVersionDescription.Builder evaluationResult(Consumer<EvaluationResult.Builder> evaluationResult)
The training results.
This is a convenience method that creates an instance of theEvaluationResultis only returned if training is successful.EvaluationResult.Builderavoiding the need to create one manually viaEvaluationResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluationResult(EvaluationResult).- Parameters:
evaluationResult- a consumer that will call methods onEvaluationResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
evaluationResult(EvaluationResult)
-
manifestSummary
ProjectVersionDescription.Builder manifestSummary(GroundTruthManifest manifestSummary)
The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.
- Parameters:
manifestSummary- The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manifestSummary
default ProjectVersionDescription.Builder manifestSummary(Consumer<GroundTruthManifest.Builder> manifestSummary)
The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.
This is a convenience method that creates an instance of theGroundTruthManifest.Builderavoiding the need to create one manually viaGroundTruthManifest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanifestSummary(GroundTruthManifest).- Parameters:
manifestSummary- a consumer that will call methods onGroundTruthManifest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
manifestSummary(GroundTruthManifest)
-
kmsKeyId
ProjectVersionDescription.Builder kmsKeyId(String kmsKeyId)
The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.
- Parameters:
kmsKeyId- The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxInferenceUnits
ProjectVersionDescription.Builder maxInferenceUnits(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
sourceProjectVersionArn
ProjectVersionDescription.Builder sourceProjectVersionArn(String sourceProjectVersionArn)
If the model version was copied from a different project,
SourceProjectVersionArncontains the ARN of the source model version.- Parameters:
sourceProjectVersionArn- If the model version was copied from a different project,SourceProjectVersionArncontains the ARN of the source model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionDescription
ProjectVersionDescription.Builder versionDescription(String versionDescription)
A user-provided description of the project version.
- Parameters:
versionDescription- A user-provided description of the project version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
feature
ProjectVersionDescription.Builder feature(String feature)
The feature that was customized.
- Parameters:
feature- The feature that was customized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CustomizationFeature,CustomizationFeature
-
feature
ProjectVersionDescription.Builder feature(CustomizationFeature feature)
The feature that was customized.
- Parameters:
feature- The feature that was customized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CustomizationFeature,CustomizationFeature
-
baseModelVersion
ProjectVersionDescription.Builder baseModelVersion(String baseModelVersion)
The base detection model version used to create the project version.
- Parameters:
baseModelVersion- The base detection model version used to create the project version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureConfig
ProjectVersionDescription.Builder featureConfig(CustomizationFeatureConfig featureConfig)
Feature specific configuration that was applied during training.
- Parameters:
featureConfig- Feature specific configuration that was applied during training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureConfig
default ProjectVersionDescription.Builder featureConfig(Consumer<CustomizationFeatureConfig.Builder> featureConfig)
Feature specific configuration that was applied during training.
This is a convenience method that creates an instance of theCustomizationFeatureConfig.Builderavoiding the need to create one manually viaCustomizationFeatureConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofeatureConfig(CustomizationFeatureConfig).- Parameters:
featureConfig- a consumer that will call methods onCustomizationFeatureConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
featureConfig(CustomizationFeatureConfig)
-
-