public static interface CopyProjectVersionRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<CopyProjectVersionRequest.Builder,CopyProjectVersionRequest>
| Modifier and Type | Method and Description |
|---|---|
CopyProjectVersionRequest.Builder |
destinationProjectArn(String destinationProjectArn)
The ARN of the project in the trusted AWS account that you want to copy the model version to.
|
CopyProjectVersionRequest.Builder |
kmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key).
|
default CopyProjectVersionRequest.Builder |
outputConfig(Consumer<OutputConfig.Builder> outputConfig)
The S3 bucket and folder location where the training output for the source model version is placed.
|
CopyProjectVersionRequest.Builder |
outputConfig(OutputConfig outputConfig)
The S3 bucket and folder location where the training output for the source model version is placed.
|
CopyProjectVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CopyProjectVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CopyProjectVersionRequest.Builder |
sourceProjectArn(String sourceProjectArn)
The ARN of the source project in the trusting AWS account.
|
CopyProjectVersionRequest.Builder |
sourceProjectVersionArn(String sourceProjectVersionArn)
The ARN of the model version in the source project that you want to copy to a destination project.
|
CopyProjectVersionRequest.Builder |
tags(Map<String,String> tags)
The key-value tags to assign to the model version.
|
CopyProjectVersionRequest.Builder |
versionName(String versionName)
A name for the version of the model that's copied to the destination project.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCopyProjectVersionRequest.Builder sourceProjectArn(String sourceProjectArn)
The ARN of the source project in the trusting AWS account.
sourceProjectArn - The ARN of the source project in the trusting AWS account.CopyProjectVersionRequest.Builder sourceProjectVersionArn(String sourceProjectVersionArn)
The ARN of the model version in the source project that you want to copy to a destination project.
sourceProjectVersionArn - The ARN of the model version in the source project that you want to copy to a destination project.CopyProjectVersionRequest.Builder destinationProjectArn(String destinationProjectArn)
The ARN of the project in the trusted AWS account that you want to copy the model version to.
destinationProjectArn - The ARN of the project in the trusted AWS account that you want to copy the model version to.CopyProjectVersionRequest.Builder versionName(String versionName)
A name for the version of the model that's copied to the destination project.
versionName - A name for the version of the model that's copied to the destination project.CopyProjectVersionRequest.Builder outputConfig(OutputConfig outputConfig)
The S3 bucket and folder location where the training output for the source model version is placed.
outputConfig - The S3 bucket and folder location where the training output for the source model version is placed.default CopyProjectVersionRequest.Builder outputConfig(Consumer<OutputConfig.Builder> outputConfig)
The S3 bucket and folder location where the training output for the source model version is placed.
This is a convenience method that creates an instance of theOutputConfig.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)CopyProjectVersionRequest.Builder tags(Map<String,String> tags)
The key-value tags to assign to the model version.
tags - The key-value tags to assign to the model version.CopyProjectVersionRequest.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 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 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.
CopyProjectVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCopyProjectVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.