@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProjectVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateProjectVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateProjectVersionRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateProjectVersionRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateProjectVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKmsKeyId()
The identifier for your AWS Key Management Service key (AWS KMS key).
|
OutputConfig |
getOutputConfig()
The Amazon S3 bucket location to store the results of training.
|
String |
getProjectArn()
The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.
|
Map<String,String> |
getTags()
A set of tags (key-value pairs) that you want to attach to the model.
|
TestingData |
getTestingData()
Specifies an external manifest that the service uses to test the model.
|
TrainingData |
getTrainingData()
Specifies an external manifest that the services uses to train the model.
|
String |
getVersionName()
A name for the version of the model.
|
int |
hashCode() |
void |
setKmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key).
|
void |
setOutputConfig(OutputConfig outputConfig)
The Amazon S3 bucket location to store the results of training.
|
void |
setProjectArn(String projectArn)
The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.
|
void |
setTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the model.
|
void |
setTestingData(TestingData testingData)
Specifies an external manifest that the service uses to test the model.
|
void |
setTrainingData(TrainingData trainingData)
Specifies an external manifest that the services uses to train the model.
|
void |
setVersionName(String versionName)
A name for the version of the model.
|
String |
toString()
Returns a string representation of this object.
|
CreateProjectVersionRequest |
withKmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key).
|
CreateProjectVersionRequest |
withOutputConfig(OutputConfig outputConfig)
The Amazon S3 bucket location to store the results of training.
|
CreateProjectVersionRequest |
withProjectArn(String projectArn)
The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.
|
CreateProjectVersionRequest |
withTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the model.
|
CreateProjectVersionRequest |
withTestingData(TestingData testingData)
Specifies an external manifest that the service uses to test the model.
|
CreateProjectVersionRequest |
withTrainingData(TrainingData trainingData)
Specifies an external manifest that the services uses to train the model.
|
CreateProjectVersionRequest |
withVersionName(String versionName)
A name for the version of the model.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setProjectArn(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.public String getProjectArn()
The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.
public CreateProjectVersionRequest withProjectArn(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.public void setVersionName(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.public String getVersionName()
A name for the version of the model. This value must be unique.
public CreateProjectVersionRequest withVersionName(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.public void setOutputConfig(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.public OutputConfig getOutputConfig()
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.
s3:PutObject
permissions on the S3 bucket.public CreateProjectVersionRequest withOutputConfig(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.public void setTrainingData(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.public TrainingData getTrainingData()
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
you must also specify TestingData
. The project must not have any
associated datasets.public CreateProjectVersionRequest withTrainingData(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.public void setTestingData(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.public TestingData getTestingData()
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
you must also specify TrainingData
. The project must not have any
associated datasets.public CreateProjectVersionRequest withTestingData(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.public Map<String,String> getTags()
A set of tags (key-value pairs) that you want to attach to the model.
public void setTags(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.public CreateProjectVersionRequest withTags(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.public CreateProjectVersionRequest addTagsEntry(String key, String value)
public CreateProjectVersionRequest clearTagsEntries()
public void setKmsKeyId(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.
public String getKmsKeyId()
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.
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.
public CreateProjectVersionRequest withKmsKeyId(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.
public String toString()
toString
in class Object
Object.toString()
public CreateProjectVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()