public static interface CreateProjectVersionRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<CreateProjectVersionRequest.Builder,CreateProjectVersionRequest>
| Modifier and Type | Method and Description |
|---|---|
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 Custom Labels project that manages the model that 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 model.
|
default CreateProjectVersionRequest.Builder |
testingData(Consumer<TestingData.Builder> testingData)
Specifies an external manifest that the service uses to test the model.
|
CreateProjectVersionRequest.Builder |
testingData(TestingData testingData)
Specifies an external manifest that the service uses to test the model.
|
default CreateProjectVersionRequest.Builder |
trainingData(Consumer<TrainingData.Builder> trainingData)
Specifies an external manifest that the services uses to train the model.
|
CreateProjectVersionRequest.Builder |
trainingData(TrainingData trainingData)
Specifies an external manifest that the services uses to train the model.
|
CreateProjectVersionRequest.Builder |
versionName(String versionName)
A name for the version of the model.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateProjectVersionRequest.Builder projectArn(String projectArn)
The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.
projectArn - The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.CreateProjectVersionRequest.Builder versionName(String versionName)
A name for the version of the model. This value must be unique.
versionName - A name for the version of the model. This value must be unique.CreateProjectVersionRequest.Builder outputConfig(OutputConfig outputConfig)
The Amazon S3 bucket location to store the results of training. The S3 bucket can be in any AWS account as
long as the caller has s3:PutObject permissions on the S3 bucket.
outputConfig - The Amazon S3 bucket location to store the results of training. The S3 bucket can be in any AWS
account as long as the caller has s3:PutObject permissions on the S3 bucket.default CreateProjectVersionRequest.Builder outputConfig(Consumer<OutputConfig.Builder> outputConfig)
The Amazon S3 bucket location to store the results of training. The S3 bucket can be in any AWS account as
long as the caller has s3:PutObject permissions on the S3 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 model. 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 model. 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 model. 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 model. 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 model. 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 model. 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 model.
tags - A set of tags (key-value pairs) that you want to attach to the model.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 and test images copied into the service for model training. 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 and test images copied into the service for model training.
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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateProjectVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.