@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PiiEntitiesDetectionJobProperties extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a PII entities detection job.
Constructor and Description |
---|
PiiEntitiesDetectionJobProperties() |
Modifier and Type | Method and Description |
---|---|
PiiEntitiesDetectionJobProperties |
clone() |
boolean |
equals(Object obj) |
String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
|
Date |
getEndTime()
The time that the PII entities detection job completed.
|
InputDataConfig |
getInputDataConfig()
The input properties for a PII entities detection job.
|
String |
getJobArn()
The Amazon Resource Name (ARN) of the PII entities detection job.
|
String |
getJobId()
The identifier assigned to the PII entities detection job.
|
String |
getJobName()
The name that you assigned the PII entities detection job.
|
String |
getJobStatus()
The current status of the PII entities detection job.
|
String |
getLanguageCode()
The language code of the input documents.
|
String |
getMessage()
A description of the status of a job.
|
String |
getMode()
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are
redacted.
|
PiiOutputDataConfig |
getOutputDataConfig()
The output data configuration that you supplied when you created the PII entities detection job.
|
RedactionConfig |
getRedactionConfig()
Provides configuration parameters for PII entity redaction.
|
Date |
getSubmitTime()
The time that the PII entities detection job was submitted for processing.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
|
void |
setEndTime(Date endTime)
The time that the PII entities detection job completed.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
The input properties for a PII entities detection job.
|
void |
setJobArn(String jobArn)
The Amazon Resource Name (ARN) of the PII entities detection job.
|
void |
setJobId(String jobId)
The identifier assigned to the PII entities detection job.
|
void |
setJobName(String jobName)
The name that you assigned the PII entities detection job.
|
void |
setJobStatus(String jobStatus)
The current status of the PII entities detection job.
|
void |
setLanguageCode(String languageCode)
The language code of the input documents.
|
void |
setMessage(String message)
A description of the status of a job.
|
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(PiiOutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the PII entities detection job.
|
void |
setRedactionConfig(RedactionConfig redactionConfig)
Provides configuration parameters for PII entity redaction.
|
void |
setSubmitTime(Date submitTime)
The time that the PII entities detection job was submitted for processing.
|
String |
toString()
Returns a string representation of this object.
|
PiiEntitiesDetectionJobProperties |
withDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
|
PiiEntitiesDetectionJobProperties |
withEndTime(Date endTime)
The time that the PII entities detection job completed.
|
PiiEntitiesDetectionJobProperties |
withInputDataConfig(InputDataConfig inputDataConfig)
The input properties for a PII entities detection job.
|
PiiEntitiesDetectionJobProperties |
withJobArn(String jobArn)
The Amazon Resource Name (ARN) of the PII entities detection job.
|
PiiEntitiesDetectionJobProperties |
withJobId(String jobId)
The identifier assigned to the PII entities detection job.
|
PiiEntitiesDetectionJobProperties |
withJobName(String jobName)
The name that you assigned the PII entities detection job.
|
PiiEntitiesDetectionJobProperties |
withJobStatus(JobStatus jobStatus)
The current status of the PII entities detection job.
|
PiiEntitiesDetectionJobProperties |
withJobStatus(String jobStatus)
The current status of the PII entities detection job.
|
PiiEntitiesDetectionJobProperties |
withLanguageCode(LanguageCode languageCode)
The language code of the input documents.
|
PiiEntitiesDetectionJobProperties |
withLanguageCode(String languageCode)
The language code of the input documents.
|
PiiEntitiesDetectionJobProperties |
withMessage(String message)
A description of the status of a job.
|
PiiEntitiesDetectionJobProperties |
withMode(PiiEntitiesDetectionMode mode)
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are
redacted.
|
PiiEntitiesDetectionJobProperties |
withMode(String mode)
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are
redacted.
|
PiiEntitiesDetectionJobProperties |
withOutputDataConfig(PiiOutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the PII entities detection job.
|
PiiEntitiesDetectionJobProperties |
withRedactionConfig(RedactionConfig redactionConfig)
Provides configuration parameters for PII entity redaction.
|
PiiEntitiesDetectionJobProperties |
withSubmitTime(Date submitTime)
The time that the PII entities detection job was submitted for processing.
|
public void setJobId(String jobId)
The identifier assigned to the PII entities detection job.
jobId
- The identifier assigned to the PII entities detection job.public String getJobId()
The identifier assigned to the PII entities detection job.
public PiiEntitiesDetectionJobProperties withJobId(String jobId)
The identifier assigned to the PII entities detection job.
jobId
- The identifier assigned to the PII entities detection job.public void setJobArn(String jobArn)
The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
jobArn
- The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified
identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the
job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
public String getJobArn()
The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
arn:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
public PiiEntitiesDetectionJobProperties withJobArn(String jobArn)
The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
jobArn
- The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified
identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the
job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
public void setJobName(String jobName)
The name that you assigned the PII entities detection job.
jobName
- The name that you assigned the PII entities detection job.public String getJobName()
The name that you assigned the PII entities detection job.
public PiiEntitiesDetectionJobProperties withJobName(String jobName)
The name that you assigned the PII entities detection job.
jobName
- The name that you assigned the PII entities detection job.public void setJobStatus(String jobStatus)
The current status of the PII entities detection job. If the status is FAILED
, the
Message
field shows the reason for the failure.
jobStatus
- The current status of the PII entities detection job. If the status is FAILED
, the
Message
field shows the reason for the failure.JobStatus
public String getJobStatus()
The current status of the PII entities detection job. If the status is FAILED
, the
Message
field shows the reason for the failure.
FAILED
, the
Message
field shows the reason for the failure.JobStatus
public PiiEntitiesDetectionJobProperties withJobStatus(String jobStatus)
The current status of the PII entities detection job. If the status is FAILED
, the
Message
field shows the reason for the failure.
jobStatus
- The current status of the PII entities detection job. If the status is FAILED
, the
Message
field shows the reason for the failure.JobStatus
public PiiEntitiesDetectionJobProperties withJobStatus(JobStatus jobStatus)
The current status of the PII entities detection job. If the status is FAILED
, the
Message
field shows the reason for the failure.
jobStatus
- The current status of the PII entities detection job. If the status is FAILED
, the
Message
field shows the reason for the failure.JobStatus
public void setMessage(String message)
A description of the status of a job.
message
- A description of the status of a job.public String getMessage()
A description of the status of a job.
public PiiEntitiesDetectionJobProperties withMessage(String message)
A description of the status of a job.
message
- A description of the status of a job.public void setSubmitTime(Date submitTime)
The time that the PII entities detection job was submitted for processing.
submitTime
- The time that the PII entities detection job was submitted for processing.public Date getSubmitTime()
The time that the PII entities detection job was submitted for processing.
public PiiEntitiesDetectionJobProperties withSubmitTime(Date submitTime)
The time that the PII entities detection job was submitted for processing.
submitTime
- The time that the PII entities detection job was submitted for processing.public void setEndTime(Date endTime)
The time that the PII entities detection job completed.
endTime
- The time that the PII entities detection job completed.public Date getEndTime()
The time that the PII entities detection job completed.
public PiiEntitiesDetectionJobProperties withEndTime(Date endTime)
The time that the PII entities detection job completed.
endTime
- The time that the PII entities detection job completed.public 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 PiiEntitiesDetectionJobProperties 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(PiiOutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the PII entities detection job.
outputDataConfig
- The output data configuration that you supplied when you created the PII entities detection job.public PiiOutputDataConfig getOutputDataConfig()
The output data configuration that you supplied when you created the PII entities detection job.
public PiiEntitiesDetectionJobProperties withOutputDataConfig(PiiOutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the PII entities detection job.
outputDataConfig
- The output data configuration that you supplied when you created the PII entities detection job.public 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 PiiEntitiesDetectionJobProperties 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 setLanguageCode(String languageCode)
The language code of the input documents.
languageCode
- The language code of the input documents.LanguageCode
public String getLanguageCode()
The language code of the input documents.
LanguageCode
public PiiEntitiesDetectionJobProperties withLanguageCode(String languageCode)
The language code of the input documents.
languageCode
- The language code of the input documents.LanguageCode
public PiiEntitiesDetectionJobProperties withLanguageCode(LanguageCode languageCode)
The language code of the input documents.
languageCode
- The language code of the input documents.LanguageCode
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 PiiEntitiesDetectionJobProperties 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 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.PiiEntitiesDetectionMode
public String getMode()
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
PiiEntitiesDetectionMode
public PiiEntitiesDetectionJobProperties 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.PiiEntitiesDetectionMode
public PiiEntitiesDetectionJobProperties 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.PiiEntitiesDetectionMode
public String toString()
toString
in class Object
Object.toString()
public PiiEntitiesDetectionJobProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.