#[non_exhaustive]pub struct UpdateDataSecurityConfigBuilder { /* private fields */ }
Expand description
A builder for UpdateDataSecurityConfig
.
Implementations§
source§impl UpdateDataSecurityConfigBuilder
impl UpdateDataSecurityConfigBuilder
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 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) -> UpdateDataSecurityConfig
pub fn build(self) -> UpdateDataSecurityConfig
Consumes the builder and constructs a UpdateDataSecurityConfig
.
Trait Implementations§
source§impl Clone for UpdateDataSecurityConfigBuilder
impl Clone for UpdateDataSecurityConfigBuilder
source§fn clone(&self) -> UpdateDataSecurityConfigBuilder
fn clone(&self) -> UpdateDataSecurityConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateDataSecurityConfigBuilder
impl Default for UpdateDataSecurityConfigBuilder
source§fn default() -> UpdateDataSecurityConfigBuilder
fn default() -> UpdateDataSecurityConfigBuilder
source§impl PartialEq for UpdateDataSecurityConfigBuilder
impl PartialEq for UpdateDataSecurityConfigBuilder
source§fn eq(&self, other: &UpdateDataSecurityConfigBuilder) -> bool
fn eq(&self, other: &UpdateDataSecurityConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.