public class PiiOutputDataConfig
extends java.lang.Object
implements java.io.Serializable
Provides configuration parameters for the output of PII entity detection jobs.
Constructor and Description |
---|
PiiOutputDataConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKmsKeyId()
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
uses to encrypt the output results from an analysis job.
|
java.lang.String |
getS3Uri()
When you use the
PiiOutputDataConfig object with
asynchronous operations, you specify the Amazon S3 location where you
want to write the output data. |
int |
hashCode() |
void |
setKmsKeyId(java.lang.String kmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
uses to encrypt the output results from an analysis job.
|
void |
setS3Uri(java.lang.String s3Uri)
When you use the
PiiOutputDataConfig object with
asynchronous operations, you specify the Amazon S3 location where you
want to write the output data. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PiiOutputDataConfig |
withKmsKeyId(java.lang.String kmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
uses to encrypt the output results from an analysis job.
|
PiiOutputDataConfig |
withS3Uri(java.lang.String s3Uri)
When you use the
PiiOutputDataConfig object with
asynchronous operations, you specify the Amazon S3 location where you
want to write the output data. |
public java.lang.String getS3Uri()
When you use the PiiOutputDataConfig
object with
asynchronous operations, you specify the Amazon S3 location where you
want to write the output data.
Constraints:
Length: - 1024
Pattern: s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
When you use the PiiOutputDataConfig
object with
asynchronous operations, you specify the Amazon S3 location where
you want to write the output data.
public void setS3Uri(java.lang.String s3Uri)
When you use the PiiOutputDataConfig
object with
asynchronous operations, you specify the Amazon S3 location where you
want to write the output data.
Constraints:
Length: - 1024
Pattern: s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
s3Uri
-
When you use the PiiOutputDataConfig
object with
asynchronous operations, you specify the Amazon S3 location
where you want to write the output data.
public PiiOutputDataConfig withS3Uri(java.lang.String s3Uri)
When you use the PiiOutputDataConfig
object with
asynchronous operations, you specify the Amazon S3 location where you
want to write the output data.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 1024
Pattern: s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
s3Uri
-
When you use the PiiOutputDataConfig
object with
asynchronous operations, you specify the Amazon S3 location
where you want to write the output data.
public java.lang.String getKmsKeyId()
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.
Constraints:
Length: - 2048
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.
public void setKmsKeyId(java.lang.String kmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.
Constraints:
Length: - 2048
kmsKeyId
- ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.
public PiiOutputDataConfig withKmsKeyId(java.lang.String kmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
kmsKeyId
- ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.