@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartPiiEntitiesDetectionJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| StartPiiEntitiesDetectionJobRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| StartPiiEntitiesDetectionJobRequest | 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 IAM role that grants Amazon Comprehend read access to your input data. | 
| InputDataConfig | getInputDataConfig()
 The input properties for a PII entities detection job. | 
| String | getJobName()
 The identifier of the job. | 
| String | getLanguageCode()
 The language of the input documents. | 
| String | getMode()
 Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are
 redacted. | 
| OutputDataConfig | getOutputDataConfig()
 Provides configuration parameters for the output of PII entity detection jobs. | 
| RedactionConfig | getRedactionConfig()
 Provides configuration parameters for PII entity redaction. | 
| List<Tag> | getTags()
 Tags to associate with the PII entities 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 IAM role that grants Amazon Comprehend read access to your input data. | 
| void | setInputDataConfig(InputDataConfig inputDataConfig)
 The input properties for a PII entities detection job. | 
| void | setJobName(String jobName)
 The identifier of the job. | 
| void | setLanguageCode(String languageCode)
 The language of the input documents. | 
| void | setMode(String mode)
 Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are
 redacted. | 
| void | setOutputDataConfig(OutputDataConfig outputDataConfig)
 Provides configuration parameters for the output of PII entity detection jobs. | 
| void | setRedactionConfig(RedactionConfig redactionConfig)
 Provides configuration parameters for PII entity redaction. | 
| void | setTags(Collection<Tag> tags)
 Tags to associate with the PII entities detection job. | 
| String | toString()Returns a string representation of this object. | 
| StartPiiEntitiesDetectionJobRequest | withClientRequestToken(String clientRequestToken)
 A unique identifier for the request. | 
| StartPiiEntitiesDetectionJobRequest | withDataAccessRoleArn(String dataAccessRoleArn)
 The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. | 
| StartPiiEntitiesDetectionJobRequest | withInputDataConfig(InputDataConfig inputDataConfig)
 The input properties for a PII entities detection job. | 
| StartPiiEntitiesDetectionJobRequest | withJobName(String jobName)
 The identifier of the job. | 
| StartPiiEntitiesDetectionJobRequest | withLanguageCode(LanguageCode languageCode)
 The language of the input documents. | 
| StartPiiEntitiesDetectionJobRequest | withLanguageCode(String languageCode)
 The language of the input documents. | 
| StartPiiEntitiesDetectionJobRequest | withMode(PiiEntitiesDetectionMode mode)
 Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are
 redacted. | 
| StartPiiEntitiesDetectionJobRequest | withMode(String mode)
 Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are
 redacted. | 
| StartPiiEntitiesDetectionJobRequest | withOutputDataConfig(OutputDataConfig outputDataConfig)
 Provides configuration parameters for the output of PII entity detection jobs. | 
| StartPiiEntitiesDetectionJobRequest | withRedactionConfig(RedactionConfig redactionConfig)
 Provides configuration parameters for PII entity redaction. | 
| StartPiiEntitiesDetectionJobRequest | withTags(Collection<Tag> tags)
 Tags to associate with the PII entities detection job. | 
| StartPiiEntitiesDetectionJobRequest | withTags(Tag... tags)
 Tags to associate with the PII entities 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, withSdkRequestTimeoutpublic void setInputDataConfig(InputDataConfig inputDataConfig)
The input properties for a PII entities detection job.
inputDataConfig - The input properties for a PII entities detection job.public InputDataConfig getInputDataConfig()
The input properties for a PII entities detection job.
public StartPiiEntitiesDetectionJobRequest withInputDataConfig(InputDataConfig inputDataConfig)
The input properties for a PII entities detection job.
inputDataConfig - The input properties for a PII entities detection job.public void setOutputDataConfig(OutputDataConfig outputDataConfig)
Provides configuration parameters for the output of PII entity detection jobs.
outputDataConfig - Provides configuration parameters for the output of PII entity detection jobs.public OutputDataConfig getOutputDataConfig()
Provides configuration parameters for the output of PII entity detection jobs.
public StartPiiEntitiesDetectionJobRequest withOutputDataConfig(OutputDataConfig outputDataConfig)
Provides configuration parameters for the output of PII entity detection jobs.
outputDataConfig - Provides configuration parameters for the output of PII entity detection jobs.public void setMode(String mode)
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
mode - Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII
        entities are redacted.PiiEntitiesDetectionModepublic String getMode()
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
PiiEntitiesDetectionModepublic StartPiiEntitiesDetectionJobRequest withMode(String mode)
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
mode - Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII
        entities are redacted.PiiEntitiesDetectionModepublic StartPiiEntitiesDetectionJobRequest withMode(PiiEntitiesDetectionMode mode)
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
mode - Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII
        entities are redacted.PiiEntitiesDetectionModepublic void setRedactionConfig(RedactionConfig redactionConfig)
Provides configuration parameters for PII entity redaction.
 This parameter is required if you set the Mode parameter to ONLY_REDACTION. In that
 case, you must provide a RedactionConfig definition that includes the PiiEntityTypes
 parameter.
 
redactionConfig - Provides configuration parameters for PII entity redaction.
        
        This parameter is required if you set the Mode parameter to ONLY_REDACTION. In
        that case, you must provide a RedactionConfig definition that includes the
        PiiEntityTypes parameter.
public RedactionConfig getRedactionConfig()
Provides configuration parameters for PII entity redaction.
 This parameter is required if you set the Mode parameter to ONLY_REDACTION. In that
 case, you must provide a RedactionConfig definition that includes the PiiEntityTypes
 parameter.
 
         This parameter is required if you set the Mode parameter to ONLY_REDACTION. In
         that case, you must provide a RedactionConfig definition that includes the
         PiiEntityTypes parameter.
public StartPiiEntitiesDetectionJobRequest withRedactionConfig(RedactionConfig redactionConfig)
Provides configuration parameters for PII entity redaction.
 This parameter is required if you set the Mode parameter to ONLY_REDACTION. In that
 case, you must provide a RedactionConfig definition that includes the PiiEntityTypes
 parameter.
 
redactionConfig - Provides configuration parameters for PII entity redaction.
        
        This parameter is required if you set the Mode parameter to ONLY_REDACTION. In
        that case, you must provide a RedactionConfig definition that includes the
        PiiEntityTypes parameter.
public void setDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
dataAccessRoleArn - The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input
        data.public String getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
public StartPiiEntitiesDetectionJobRequest withDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
dataAccessRoleArn - The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input
        data.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 StartPiiEntitiesDetectionJobRequest withJobName(String jobName)
The identifier of the job.
jobName - The identifier of the job.public void setLanguageCode(String languageCode)
The language of the input documents. Enter the language code for English (en) or Spanish (es).
languageCode - The language of the input documents. Enter the language code for English (en) or Spanish (es).LanguageCodepublic String getLanguageCode()
The language of the input documents. Enter the language code for English (en) or Spanish (es).
LanguageCodepublic StartPiiEntitiesDetectionJobRequest withLanguageCode(String languageCode)
The language of the input documents. Enter the language code for English (en) or Spanish (es).
languageCode - The language of the input documents. Enter the language code for English (en) or Spanish (es).LanguageCodepublic StartPiiEntitiesDetectionJobRequest withLanguageCode(LanguageCode languageCode)
The language of the input documents. Enter the language code for English (en) or Spanish (es).
languageCode - The language of the input documents. Enter the language code for English (en) or Spanish (es).LanguageCodepublic 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 StartPiiEntitiesDetectionJobRequest 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 List<Tag> getTags()
Tags to associate with the PII 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 associate with the PII 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 associate with the PII 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 StartPiiEntitiesDetectionJobRequest withTags(Tag... tags)
Tags to associate with the PII 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 associate with the PII 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 StartPiiEntitiesDetectionJobRequest withTags(Collection<Tag> tags)
Tags to associate with the PII 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 associate with the PII 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 ObjectObject.toString()public StartPiiEntitiesDetectionJobRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()