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 (AWS KMS) customer master key (CMK).
|
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)
The dataset to use for testing.
|
CreateProjectVersionRequest.Builder |
testingData(TestingData testingData)
The dataset to use for testing.
|
default CreateProjectVersionRequest.Builder |
trainingData(Consumer<TrainingData.Builder> trainingData)
The dataset to use for training.
|
CreateProjectVersionRequest.Builder |
trainingData(TrainingData trainingData)
The dataset to use for training.
|
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)
The dataset to use for training.
trainingData - The dataset to use for training.default CreateProjectVersionRequest.Builder trainingData(Consumer<TrainingData.Builder> trainingData)
The dataset to use for training.
This is a convenience that creates an instance of theTrainingData.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)
The dataset to use for testing.
testingData - The dataset to use for testing.default CreateProjectVersionRequest.Builder testingData(Consumer<TestingData.Builder> testingData)
The dataset to use for testing.
This is a convenience that creates an instance of theTestingData.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 (AWS KMS) customer master key (CMK). You can supply the
Amazon Resource Name (ARN) of your CMK, the ID of your CMK, an alias for your CMK, 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 CMK, you need the following permissions on the CMK.
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 (AWS KMS) customer master key (CMK). You can supply
the Amazon Resource Name (ARN) of your CMK, the ID of your CMK, an alias for your CMK, 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 CMK, you need the following permissions on the CMK.
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 © 2021. All rights reserved.