@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDataSecurityConfig extends Object implements Serializable, Cloneable, StructuredPojo
Data security configuration.
Constructor and Description |
---|
UpdateDataSecurityConfig() |
Modifier and Type | Method and Description |
---|---|
UpdateDataSecurityConfig |
clone() |
boolean |
equals(Object obj) |
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 |
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.
|
UpdateDataSecurityConfig |
withModelKmsKeyId(String modelKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models.
|
UpdateDataSecurityConfig |
withVolumeKmsKeyId(String volumeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
|
UpdateDataSecurityConfig |
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 UpdateDataSecurityConfig 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 UpdateDataSecurityConfig 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 setVpcConfig(VpcConfig vpcConfig)
vpcConfig
- public VpcConfig getVpcConfig()
public UpdateDataSecurityConfig withVpcConfig(VpcConfig vpcConfig)
vpcConfig
- public String toString()
toString
in class Object
Object.toString()
public UpdateDataSecurityConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.