public static interface CreateProjectVersionRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<CreateProjectVersionRequest.Builder,CreateProjectVersionRequest>
| Modifier and Type | Method and Description |
|---|---|
default CreateProjectVersionRequest.Builder |
featureConfig(Consumer<CustomizationFeatureConfig.Builder> featureConfig)
Feature-specific configuration of the training job.
|
CreateProjectVersionRequest.Builder |
featureConfig(CustomizationFeatureConfig featureConfig)
Feature-specific configuration of the training job.
|
CreateProjectVersionRequest.Builder |
kmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key).
|
default CreateProjectVersionRequest.Builder |
outputConfig(Consumer<OutputConfig.Builder> outputConfig)
The Amazon S3 bucket location to store the results of training.
|
CreateProjectVersionRequest.Builder |
outputConfig(OutputConfig outputConfig)
The Amazon S3 bucket location to store the results of training.
|
CreateProjectVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateProjectVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateProjectVersionRequest.Builder |
projectArn(String projectArn)
The ARN of the Amazon Rekognition project that will manage the project version you want to train.
|
CreateProjectVersionRequest.Builder |
tags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the project version.
|
default CreateProjectVersionRequest.Builder |
testingData(Consumer<TestingData.Builder> testingData)
Specifies an external manifest that the service uses to test the project version.
|
CreateProjectVersionRequest.Builder |
testingData(TestingData testingData)
Specifies an external manifest that the service uses to test the project version.
|
default CreateProjectVersionRequest.Builder |
trainingData(Consumer<TrainingData.Builder> trainingData)
Specifies an external manifest that the services uses to train the project version.
|
CreateProjectVersionRequest.Builder |
trainingData(TrainingData trainingData)
Specifies an external manifest that the services uses to train the project version.
|
CreateProjectVersionRequest.Builder |
versionDescription(String versionDescription)
A description applied to the project version being created.
|
CreateProjectVersionRequest.Builder |
versionName(String versionName)
A name for the version of the project version.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateProjectVersionRequest.Builder projectArn(String projectArn)
The ARN of the Amazon Rekognition project that will manage the project version you want to train.
projectArn - The ARN of the Amazon Rekognition project that will manage the project version you want to train.CreateProjectVersionRequest.Builder versionName(String versionName)
A name for the version of the project version. This value must be unique.
versionName - A name for the version of the project version. This value must be unique.CreateProjectVersionRequest.Builder outputConfig(OutputConfig outputConfig)
The Amazon S3 bucket location to store the results of training. The bucket can be any S3 bucket in your AWS
account. You need s3:PutObject permission on the bucket.
outputConfig - The Amazon S3 bucket location to store the results of training. The bucket can be any S3 bucket in
your AWS account. You need s3:PutObject permission on the bucket.default CreateProjectVersionRequest.Builder outputConfig(Consumer<OutputConfig.Builder> outputConfig)
The Amazon S3 bucket location to store the results of training. The bucket can be any S3 bucket in your AWS
account. You need s3:PutObject permission on the bucket.
OutputConfig.Builder avoiding the need
to create one manually via OutputConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to outputConfig(OutputConfig).
outputConfig - a consumer that will call methods on OutputConfig.BuilderoutputConfig(OutputConfig)CreateProjectVersionRequest.Builder trainingData(TrainingData trainingData)
Specifies an external manifest that the services uses to train the project version. If you specify
TrainingData you must also specify TestingData. The project must not have any
associated datasets.
trainingData - Specifies an external manifest that the services uses to train the project version. If you specify
TrainingData you must also specify TestingData. The project must not have
any associated datasets.default CreateProjectVersionRequest.Builder trainingData(Consumer<TrainingData.Builder> trainingData)
Specifies an external manifest that the services uses to train the project version. If you specify
TrainingData you must also specify TestingData. The project must not have any
associated datasets.
TrainingData.Builder avoiding the need
to create one manually via TrainingData.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to trainingData(TrainingData).
trainingData - a consumer that will call methods on TrainingData.BuildertrainingData(TrainingData)CreateProjectVersionRequest.Builder testingData(TestingData testingData)
Specifies an external manifest that the service uses to test the project version. If you specify
TestingData you must also specify TrainingData. The project must not have any
associated datasets.
testingData - Specifies an external manifest that the service uses to test the project version. If you specify
TestingData you must also specify TrainingData. The project must not have
any associated datasets.default CreateProjectVersionRequest.Builder testingData(Consumer<TestingData.Builder> testingData)
Specifies an external manifest that the service uses to test the project version. If you specify
TestingData you must also specify TrainingData. The project must not have any
associated datasets.
TestingData.Builder avoiding the need to
create one manually via TestingData.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to testingData(TestingData).
testingData - a consumer that will call methods on TestingData.BuildertestingData(TestingData)CreateProjectVersionRequest.Builder tags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the project version.
tags - A set of tags (key-value pairs) that you want to attach to the project version.CreateProjectVersionRequest.Builder kmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key). You can supply the Amazon Resource Name
(ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to
encrypt training images, test images, and manifest files copied into the service for the project version.
Your source images are unaffected. The key is also used to encrypt training results and manifest files
written to the output Amazon S3 bucket (OutputConfig).
If you choose to use your own KMS key, you need the following permissions on the KMS key.
kms:CreateGrant
kms:DescribeKey
kms:GenerateDataKey
kms:Decrypt
If you don't specify a value for KmsKeyId, images copied into the service are encrypted using a
key that AWS owns and manages.
kmsKeyId - The identifier for your AWS Key Management Service key (AWS KMS key). You can supply the Amazon
Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias
ARN. The key is used to encrypt training images, test images, and manifest files copied into the
service for the project version. Your source images are unaffected. The key is also used to encrypt
training results and manifest files written to the output Amazon S3 bucket (OutputConfig
).
If you choose to use your own KMS key, you need the following permissions on the KMS key.
kms:CreateGrant
kms:DescribeKey
kms:GenerateDataKey
kms:Decrypt
If you don't specify a value for KmsKeyId, images copied into the service are encrypted
using a key that AWS owns and manages.
CreateProjectVersionRequest.Builder versionDescription(String versionDescription)
A description applied to the project version being created.
versionDescription - A description applied to the project version being created.CreateProjectVersionRequest.Builder featureConfig(CustomizationFeatureConfig featureConfig)
Feature-specific configuration of the training job. If the job configuration does not match the feature type associated with the project, an InvalidParameterException is returned.
featureConfig - Feature-specific configuration of the training job. If the job configuration does not match the
feature type associated with the project, an InvalidParameterException is returned.default CreateProjectVersionRequest.Builder featureConfig(Consumer<CustomizationFeatureConfig.Builder> featureConfig)
Feature-specific configuration of the training job. If the job configuration does not match the feature type associated with the project, an InvalidParameterException is returned.
This is a convenience method that creates an instance of theCustomizationFeatureConfig.Builder
avoiding the need to create one manually via CustomizationFeatureConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to featureConfig(CustomizationFeatureConfig).
featureConfig - a consumer that will call methods on CustomizationFeatureConfig.BuilderfeatureConfig(CustomizationFeatureConfig)CreateProjectVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateProjectVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.