Interface ModelDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ModelDescription.Builder,
,ModelDescription> SdkBuilder<ModelDescription.Builder,
,ModelDescription> SdkPojo
- Enclosing class:
ModelDescription
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimestamp
(Instant creationTimestamp) The unix timestamp for the date and time that the model was created.description
(String description) The description for the model.evaluationEndTimestamp
(Instant evaluationEndTimestamp) The unix timestamp for the date and time that the evaluation ended.default ModelDescription.Builder
evaluationManifest
(Consumer<OutputS3Object.Builder> evaluationManifest) The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.evaluationManifest
(OutputS3Object evaluationManifest) The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.default ModelDescription.Builder
evaluationResult
(Consumer<OutputS3Object.Builder> evaluationResult) The S3 location where Amazon Lookout for Vision saves the performance metrics.evaluationResult
(OutputS3Object evaluationResult) The S3 location where Amazon Lookout for Vision saves the performance metrics.The identifer for the AWS Key Management Service (AWS KMS) key that was used to encrypt the model during training.maxInferenceUnits
(Integer maxInferenceUnits) The maximum number of inference units Amazon Lookout for Vision uses to auto-scale the model.minInferenceUnits
(Integer minInferenceUnits) The minimum number of inference units used by the model.The Amazon Resource Name (ARN) of the model.modelVersion
(String modelVersion) The version of the modeldefault ModelDescription.Builder
outputConfig
(Consumer<OutputConfig.Builder> outputConfig) The S3 location where Amazon Lookout for Vision saves model training files.outputConfig
(OutputConfig outputConfig) The S3 location where Amazon Lookout for Vision saves model training files.default ModelDescription.Builder
performance
(Consumer<ModelPerformance.Builder> performance) Performance metrics for the model.performance
(ModelPerformance performance) Performance metrics for the model.The status of the model.status
(ModelStatus status) The status of the model.statusMessage
(String statusMessage) The status message for the model.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 Details
-
modelVersion
The version of the model
- Parameters:
modelVersion
- The version of the model- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelArn
The Amazon Resource Name (ARN) of the model.
- Parameters:
modelArn
- The Amazon Resource Name (ARN) of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
The unix timestamp for the date and time that the model was created.
- Parameters:
creationTimestamp
- The unix timestamp for the date and time that the model was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the model.
- Parameters:
description
- The description for the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the model.
- Parameters:
status
- The status of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the model.
- Parameters:
status
- The status of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
The status message for the model.
- Parameters:
statusMessage
- The status message for the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performance
Performance metrics for the model. Created during training.
- Parameters:
performance
- Performance metrics for the model. Created during training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performance
Performance metrics for the model. Created during training.
This is a convenience method that creates an instance of theModelPerformance.Builder
avoiding the need to create one manually viaModelPerformance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toperformance(ModelPerformance)
.- Parameters:
performance
- a consumer that will call methods onModelPerformance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConfig
The S3 location where Amazon Lookout for Vision saves model training files.
- Parameters:
outputConfig
- The S3 location where Amazon Lookout for Vision saves model training files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
The S3 location where Amazon Lookout for Vision saves model training files.
This is a convenience method that creates an instance of theOutputConfig.Builder
avoiding the need to create one manually viaOutputConfig.builder()
.When the
Consumer
completes,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:
-
evaluationManifest
The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.
- Parameters:
evaluationManifest
- The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationManifest
default ModelDescription.Builder evaluationManifest(Consumer<OutputS3Object.Builder> evaluationManifest) The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.
This is a convenience method that creates an instance of theOutputS3Object.Builder
avoiding the need to create one manually viaOutputS3Object.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevaluationManifest(OutputS3Object)
.- Parameters:
evaluationManifest
- a consumer that will call methods onOutputS3Object.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationResult
The S3 location where Amazon Lookout for Vision saves the performance metrics.
- Parameters:
evaluationResult
- The S3 location where Amazon Lookout for Vision saves the performance metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationResult
default ModelDescription.Builder evaluationResult(Consumer<OutputS3Object.Builder> evaluationResult) The S3 location where Amazon Lookout for Vision saves the performance metrics.
This is a convenience method that creates an instance of theOutputS3Object.Builder
avoiding the need to create one manually viaOutputS3Object.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevaluationResult(OutputS3Object)
.- Parameters:
evaluationResult
- a consumer that will call methods onOutputS3Object.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationEndTimestamp
The unix timestamp for the date and time that the evaluation ended.
- Parameters:
evaluationEndTimestamp
- The unix timestamp for the date and time that the evaluation ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The identifer for the AWS Key Management Service (AWS KMS) key that was used to encrypt the model during training.
- Parameters:
kmsKeyId
- The identifer for the AWS Key Management Service (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.
-
minInferenceUnits
The minimum number of inference units used by the model. For more information, see StartModel
- Parameters:
minInferenceUnits
- The minimum number of inference units used by the model. For more information, see StartModel- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxInferenceUnits
The maximum number of inference units Amazon Lookout for Vision uses to auto-scale the model. For more information, see StartModel.
- Parameters:
maxInferenceUnits
- The maximum number of inference units Amazon Lookout for Vision uses to auto-scale the model. For more information, see StartModel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-