#[non_exhaustive]pub struct DataSecurityConfigBuilder { /* private fields */ }Expand description
A builder for DataSecurityConfig.
Implementations§
source§impl DataSecurityConfigBuilder
impl DataSecurityConfigBuilder
sourcepub fn model_kms_key_id(self, input: impl Into<String>) -> Self
pub fn model_kms_key_id(self, input: impl Into<String>) -> Self
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"
sourcepub fn set_model_kms_key_id(self, input: Option<String>) -> Self
pub fn set_model_kms_key_id(self, input: Option<String>) -> Self
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"
sourcepub fn get_model_kms_key_id(&self) -> &Option<String>
pub fn get_model_kms_key_id(&self) -> &Option<String>
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"
sourcepub fn volume_kms_key_id(self, input: impl Into<String>) -> Self
pub fn volume_kms_key_id(self, input: impl Into<String>) -> Self
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
sourcepub fn set_volume_kms_key_id(self, input: Option<String>) -> Self
pub fn set_volume_kms_key_id(self, input: Option<String>) -> Self
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
sourcepub fn get_volume_kms_key_id(&self) -> &Option<String>
pub fn get_volume_kms_key_id(&self) -> &Option<String>
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
sourcepub fn data_lake_kms_key_id(self, input: impl Into<String>) -> Self
pub fn data_lake_kms_key_id(self, input: impl Into<String>) -> Self
ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
sourcepub fn set_data_lake_kms_key_id(self, input: Option<String>) -> Self
pub fn set_data_lake_kms_key_id(self, input: Option<String>) -> Self
ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
sourcepub fn get_data_lake_kms_key_id(&self) -> &Option<String>
pub fn get_data_lake_kms_key_id(&self) -> &Option<String>
ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
sourcepub fn vpc_config(self, input: VpcConfig) -> Self
pub fn vpc_config(self, input: VpcConfig) -> Self
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see Amazon VPC.
sourcepub fn set_vpc_config(self, input: Option<VpcConfig>) -> Self
pub fn set_vpc_config(self, input: Option<VpcConfig>) -> Self
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see Amazon VPC.
sourcepub fn get_vpc_config(&self) -> &Option<VpcConfig>
pub fn get_vpc_config(&self) -> &Option<VpcConfig>
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see Amazon VPC.
sourcepub fn build(self) -> DataSecurityConfig
pub fn build(self) -> DataSecurityConfig
Consumes the builder and constructs a DataSecurityConfig.
Trait Implementations§
source§impl Clone for DataSecurityConfigBuilder
impl Clone for DataSecurityConfigBuilder
source§fn clone(&self) -> DataSecurityConfigBuilder
fn clone(&self) -> DataSecurityConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DataSecurityConfigBuilder
impl Debug for DataSecurityConfigBuilder
source§impl Default for DataSecurityConfigBuilder
impl Default for DataSecurityConfigBuilder
source§fn default() -> DataSecurityConfigBuilder
fn default() -> DataSecurityConfigBuilder
source§impl PartialEq for DataSecurityConfigBuilder
impl PartialEq for DataSecurityConfigBuilder
source§fn eq(&self, other: &DataSecurityConfigBuilder) -> bool
fn eq(&self, other: &DataSecurityConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.