@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 (AWS KMS) customer master key (CMK).
|
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()
The dataset to use for testing.
|
TrainingData |
getTrainingData()
The dataset to use for training.
|
String |
getVersionName()
A name for the version of the model.
|
int |
hashCode() |
void |
setKmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service (AWS KMS) customer master key (CMK).
|
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)
The dataset to use for testing.
|
void |
setTrainingData(TrainingData trainingData)
The dataset to use for training.
|
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 (AWS KMS) customer master key (CMK).
|
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)
The dataset to use for testing.
|
CreateProjectVersionRequest |
withTrainingData(TrainingData trainingData)
The dataset to use for training.
|
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)
The dataset to use for training.
trainingData
- The dataset to use for training.public TrainingData getTrainingData()
The dataset to use for training.
public CreateProjectVersionRequest withTrainingData(TrainingData trainingData)
The dataset to use for training.
trainingData
- The dataset to use for training.public void setTestingData(TestingData testingData)
The dataset to use for testing.
testingData
- The dataset to use for testing.public TestingData getTestingData()
The dataset to use for testing.
public CreateProjectVersionRequest withTestingData(TestingData testingData)
The dataset to use for testing.
testingData
- The dataset to use for testing.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 (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.
public String getKmsKeyId()
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.
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.
public CreateProjectVersionRequest withKmsKeyId(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.
public String toString()
toString
in class Object
Object.toString()
public CreateProjectVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()