@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSecurityConfig extends Object implements Serializable, Cloneable, StructuredPojo
Data security configuration.
Constructor and Description |
---|
DataSecurityConfig() |
Modifier and Type | Method and Description |
---|---|
DataSecurityConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDataLakeKmsKeyId()
ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
|
String |
getModelKmsKeyId()
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models.
|
String |
getVolumeKmsKeyId()
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
|
VpcConfig |
getVpcConfig() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataLakeKmsKeyId(String dataLakeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
|
void |
setModelKmsKeyId(String modelKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models.
|
void |
setVolumeKmsKeyId(String volumeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
|
void |
setVpcConfig(VpcConfig vpcConfig) |
String |
toString()
Returns a string representation of this object.
|
DataSecurityConfig |
withDataLakeKmsKeyId(String dataLakeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
|
DataSecurityConfig |
withModelKmsKeyId(String modelKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models.
|
DataSecurityConfig |
withVolumeKmsKeyId(String volumeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
|
DataSecurityConfig |
withVpcConfig(VpcConfig vpcConfig) |
public void setModelKmsKeyId(String modelKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId 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"
modelKmsKeyId
- ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId 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 getModelKmsKeyId()
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId 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 DataSecurityConfig withModelKmsKeyId(String modelKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId 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"
modelKmsKeyId
- ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId 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 setVolumeKmsKeyId(String volumeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
volumeKmsKeyId
- ID for the KMS key that Amazon Comprehend uses to encrypt the volume.public String getVolumeKmsKeyId()
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
public DataSecurityConfig withVolumeKmsKeyId(String volumeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
volumeKmsKeyId
- ID for the KMS key that Amazon Comprehend uses to encrypt the volume.public void setDataLakeKmsKeyId(String dataLakeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
dataLakeKmsKeyId
- ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.public String getDataLakeKmsKeyId()
ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
public DataSecurityConfig withDataLakeKmsKeyId(String dataLakeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
dataLakeKmsKeyId
- ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.public void setVpcConfig(VpcConfig vpcConfig)
vpcConfig
- public VpcConfig getVpcConfig()
public DataSecurityConfig withVpcConfig(VpcConfig vpcConfig)
vpcConfig
- public String toString()
toString
in class Object
Object.toString()
public DataSecurityConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.