@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartEntitiesDetectionJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartEntitiesDetectionJobRequest() |
Modifier and Type | Method and Description |
---|---|
StartEntitiesDetectionJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique identifier for the request.
|
String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend
read access to your input data.
|
String |
getEntityRecognizerArn()
The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by the
StartEntitiesDetectionJob . |
InputDataConfig |
getInputDataConfig()
Specifies the format and location of the input data for the job.
|
String |
getJobName()
The identifier of the job.
|
String |
getLanguageCode()
The language of the input documents.
|
OutputDataConfig |
getOutputDataConfig()
Specifies where to send the output files.
|
List<Tag> |
getTags()
Tags to be associated with the entities detection job.
|
String |
getVolumeKmsKeyId()
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume
attached to the ML compute instance(s) that process the analysis job.
|
VpcConfig |
getVpcConfig()
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are
using for your entity detection job.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique identifier for the request.
|
void |
setDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend
read access to your input data.
|
void |
setEntityRecognizerArn(String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by the
StartEntitiesDetectionJob . |
void |
setInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
|
void |
setJobName(String jobName)
The identifier of the job.
|
void |
setLanguageCode(String languageCode)
The language of the input documents.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
|
void |
setTags(Collection<Tag> tags)
Tags to be associated with the entities detection job.
|
void |
setVolumeKmsKeyId(String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume
attached to the ML compute instance(s) that process the analysis job.
|
void |
setVpcConfig(VpcConfig vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are
using for your entity detection job.
|
String |
toString()
Returns a string representation of this object.
|
StartEntitiesDetectionJobRequest |
withClientRequestToken(String clientRequestToken)
A unique identifier for the request.
|
StartEntitiesDetectionJobRequest |
withDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend
read access to your input data.
|
StartEntitiesDetectionJobRequest |
withEntityRecognizerArn(String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by the
StartEntitiesDetectionJob . |
StartEntitiesDetectionJobRequest |
withInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
|
StartEntitiesDetectionJobRequest |
withJobName(String jobName)
The identifier of the job.
|
StartEntitiesDetectionJobRequest |
withLanguageCode(LanguageCode languageCode)
The language of the input documents.
|
StartEntitiesDetectionJobRequest |
withLanguageCode(String languageCode)
The language of the input documents.
|
StartEntitiesDetectionJobRequest |
withOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
|
StartEntitiesDetectionJobRequest |
withTags(Collection<Tag> tags)
Tags to be associated with the entities detection job.
|
StartEntitiesDetectionJobRequest |
withTags(Tag... tags)
Tags to be associated with the entities detection job.
|
StartEntitiesDetectionJobRequest |
withVolumeKmsKeyId(String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume
attached to the ML compute instance(s) that process the analysis job.
|
StartEntitiesDetectionJobRequest |
withVpcConfig(VpcConfig vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are
using for your entity detection job.
|
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 setInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
inputDataConfig
- Specifies the format and location of the input data for the job.public InputDataConfig getInputDataConfig()
Specifies the format and location of the input data for the job.
public StartEntitiesDetectionJobRequest withInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and location of the input data for the job.
inputDataConfig
- Specifies the format and location of the input data for the job.public void setOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
outputDataConfig
- Specifies where to send the output files.public OutputDataConfig getOutputDataConfig()
Specifies where to send the output files.
public StartEntitiesDetectionJobRequest withOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies where to send the output files.
outputDataConfig
- Specifies where to send the output files.public void setDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions< /a>.
dataAccessRoleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon
Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-
permissions.public String getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions< /a>.
public StartEntitiesDetectionJobRequest withDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions< /a>.
dataAccessRoleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon
Comprehend read access to your input data. For more information, see https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-
permissions.public void setJobName(String jobName)
The identifier of the job.
jobName
- The identifier of the job.public String getJobName()
The identifier of the job.
public StartEntitiesDetectionJobRequest withJobName(String jobName)
The identifier of the job.
jobName
- The identifier of the job.public void setEntityRecognizerArn(String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by the
StartEntitiesDetectionJob
. This ARN is optional and is only used for a custom entity recognition
job.
entityRecognizerArn
- The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by the
StartEntitiesDetectionJob
. This ARN is optional and is only used for a custom entity
recognition job.public String getEntityRecognizerArn()
The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by the
StartEntitiesDetectionJob
. This ARN is optional and is only used for a custom entity recognition
job.
StartEntitiesDetectionJob
. This ARN is optional and is only used for a custom entity
recognition job.public StartEntitiesDetectionJobRequest withEntityRecognizerArn(String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by the
StartEntitiesDetectionJob
. This ARN is optional and is only used for a custom entity recognition
job.
entityRecognizerArn
- The Amazon Resource Name (ARN) that identifies the specific entity recognizer to be used by the
StartEntitiesDetectionJob
. This ARN is optional and is only used for a custom entity
recognition job.public void setLanguageCode(String languageCode)
The language of the input documents. All documents must be in the same language. You can specify any of the languages supported by Amazon Comprehend. If custom entities recognition is used, this parameter is ignored and the language used for training the model is used instead.
languageCode
- The language of the input documents. All documents must be in the same language. You can specify any of
the languages supported by Amazon Comprehend. If custom entities recognition is used, this parameter is
ignored and the language used for training the model is used instead.LanguageCode
public String getLanguageCode()
The language of the input documents. All documents must be in the same language. You can specify any of the languages supported by Amazon Comprehend. If custom entities recognition is used, this parameter is ignored and the language used for training the model is used instead.
LanguageCode
public StartEntitiesDetectionJobRequest withLanguageCode(String languageCode)
The language of the input documents. All documents must be in the same language. You can specify any of the languages supported by Amazon Comprehend. If custom entities recognition is used, this parameter is ignored and the language used for training the model is used instead.
languageCode
- The language of the input documents. All documents must be in the same language. You can specify any of
the languages supported by Amazon Comprehend. If custom entities recognition is used, this parameter is
ignored and the language used for training the model is used instead.LanguageCode
public StartEntitiesDetectionJobRequest withLanguageCode(LanguageCode languageCode)
The language of the input documents. All documents must be in the same language. You can specify any of the languages supported by Amazon Comprehend. If custom entities recognition is used, this parameter is ignored and the language used for training the model is used instead.
languageCode
- The language of the input documents. All documents must be in the same language. You can specify any of
the languages supported by Amazon Comprehend. If custom entities recognition is used, this parameter is
ignored and the language used for training the model is used instead.LanguageCode
public void setClientRequestToken(String clientRequestToken)
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
clientRequestToken
- A unique identifier for the request. If you don't set the client request token, Amazon Comprehend
generates one.public String getClientRequestToken()
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
public StartEntitiesDetectionJobRequest withClientRequestToken(String clientRequestToken)
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
clientRequestToken
- A unique identifier for the request. If you don't set the client request token, Amazon Comprehend
generates one.public void setVolumeKmsKeyId(String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
volumeKmsKeyId
- ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage
volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be
either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
public String getVolumeKmsKeyId()
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
public StartEntitiesDetectionJobRequest withVolumeKmsKeyId(String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
volumeKmsKeyId
- ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage
volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be
either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
public void setVpcConfig(VpcConfig vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your entity detection job. For more information, see Amazon VPC.
vpcConfig
- Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you
are using for your entity detection job. For more information, see Amazon VPC.public VpcConfig getVpcConfig()
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your entity detection job. For more information, see Amazon VPC.
public StartEntitiesDetectionJobRequest withVpcConfig(VpcConfig vpcConfig)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your entity detection job. For more information, see Amazon VPC.
vpcConfig
- Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you
are using for your entity detection job. For more information, see Amazon VPC.public List<Tag> getTags()
Tags to be associated with the entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
public void setTags(Collection<Tag> tags)
Tags to be associated with the entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
tags
- Tags to be associated with the entities detection job. A tag is a key-value pair that adds metadata to a
resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a
resource to indicate its use by the sales department.public StartEntitiesDetectionJobRequest withTags(Tag... tags)
Tags to be associated with the entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags to be associated with the entities detection job. A tag is a key-value pair that adds metadata to a
resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a
resource to indicate its use by the sales department.public StartEntitiesDetectionJobRequest withTags(Collection<Tag> tags)
Tags to be associated with the entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
tags
- Tags to be associated with the entities detection job. A tag is a key-value pair that adds metadata to a
resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a
resource to indicate its use by the sales department.public String toString()
toString
in class Object
Object.toString()
public StartEntitiesDetectionJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()