#[non_exhaustive]pub struct LabelingJobResourceConfigBuilder { /* private fields */ }
Expand description
A builder for LabelingJobResourceConfig
.
Implementations§
source§impl LabelingJobResourceConfigBuilder
impl LabelingJobResourceConfigBuilder
sourcepub fn volume_kms_key_id(self, input: impl Into<String>) -> Self
pub fn volume_kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training and inference jobs used for automated data labeling.
You can only specify a VolumeKmsKeyId
when you create a labeling job with automated data labeling enabled using the API operation CreateLabelingJob
. You cannot specify an Amazon Web Services KMS key to encrypt the storage volume used for automated data labeling model training and inference when you create a labeling job using the console. To learn more, see Output Data and Storage Volume Encryption.
The VolumeKmsKeyId
can be any 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_volume_kms_key_id(self, input: Option<String>) -> Self
pub fn set_volume_kms_key_id(self, input: Option<String>) -> Self
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training and inference jobs used for automated data labeling.
You can only specify a VolumeKmsKeyId
when you create a labeling job with automated data labeling enabled using the API operation CreateLabelingJob
. You cannot specify an Amazon Web Services KMS key to encrypt the storage volume used for automated data labeling model training and inference when you create a labeling job using the console. To learn more, see Output Data and Storage Volume Encryption.
The VolumeKmsKeyId
can be any 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 vpc_config(self, input: VpcConfig) -> Self
pub fn vpc_config(self, input: VpcConfig) -> Self
Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud and Protect Training Jobs by Using an Amazon Virtual Private Cloud.
sourcepub fn set_vpc_config(self, input: Option<VpcConfig>) -> Self
pub fn set_vpc_config(self, input: Option<VpcConfig>) -> Self
Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud and Protect Training Jobs by Using an Amazon Virtual Private Cloud.
sourcepub fn build(self) -> LabelingJobResourceConfig
pub fn build(self) -> LabelingJobResourceConfig
Consumes the builder and constructs a LabelingJobResourceConfig
.
Trait Implementations§
source§impl Clone for LabelingJobResourceConfigBuilder
impl Clone for LabelingJobResourceConfigBuilder
source§fn clone(&self) -> LabelingJobResourceConfigBuilder
fn clone(&self) -> LabelingJobResourceConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LabelingJobResourceConfigBuilder
impl Default for LabelingJobResourceConfigBuilder
source§fn default() -> LabelingJobResourceConfigBuilder
fn default() -> LabelingJobResourceConfigBuilder
source§impl PartialEq<LabelingJobResourceConfigBuilder> for LabelingJobResourceConfigBuilder
impl PartialEq<LabelingJobResourceConfigBuilder> for LabelingJobResourceConfigBuilder
source§fn eq(&self, other: &LabelingJobResourceConfigBuilder) -> bool
fn eq(&self, other: &LabelingJobResourceConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.