#[non_exhaustive]pub struct RecommendationJobOutputConfigBuilder { /* private fields */ }
Expand description
A builder for RecommendationJobOutputConfig
.
Implementations§
source§impl RecommendationJobOutputConfigBuilder
impl RecommendationJobOutputConfigBuilder
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt your output artifacts with Amazon S3 server-side encryption. The SageMaker execution role must have kms:GenerateDataKey
permission.
The KmsKeyId
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:
: :key/ " -
// KMS Key Alias
"alias/ExampleAlias"
-
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:
: :alias/ "
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt your output artifacts with Amazon S3 server-side encryption. The SageMaker execution role must have kms:GenerateDataKey
permission.
The KmsKeyId
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:
: :key/ " -
// KMS Key Alias
"alias/ExampleAlias"
-
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:
: :alias/ "
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt your output artifacts with Amazon S3 server-side encryption. The SageMaker execution role must have kms:GenerateDataKey
permission.
The KmsKeyId
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:
: :key/ " -
// KMS Key Alias
"alias/ExampleAlias"
-
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:
: :alias/ "
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
sourcepub fn compiled_output_config(
self,
input: RecommendationJobCompiledOutputConfig
) -> Self
pub fn compiled_output_config( self, input: RecommendationJobCompiledOutputConfig ) -> Self
Provides information about the output configuration for the compiled model.
sourcepub fn set_compiled_output_config(
self,
input: Option<RecommendationJobCompiledOutputConfig>
) -> Self
pub fn set_compiled_output_config( self, input: Option<RecommendationJobCompiledOutputConfig> ) -> Self
Provides information about the output configuration for the compiled model.
sourcepub fn get_compiled_output_config(
&self
) -> &Option<RecommendationJobCompiledOutputConfig>
pub fn get_compiled_output_config( &self ) -> &Option<RecommendationJobCompiledOutputConfig>
Provides information about the output configuration for the compiled model.
sourcepub fn build(self) -> RecommendationJobOutputConfig
pub fn build(self) -> RecommendationJobOutputConfig
Consumes the builder and constructs a RecommendationJobOutputConfig
.
Trait Implementations§
source§impl Clone for RecommendationJobOutputConfigBuilder
impl Clone for RecommendationJobOutputConfigBuilder
source§fn clone(&self) -> RecommendationJobOutputConfigBuilder
fn clone(&self) -> RecommendationJobOutputConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RecommendationJobOutputConfigBuilder
impl Default for RecommendationJobOutputConfigBuilder
source§fn default() -> RecommendationJobOutputConfigBuilder
fn default() -> RecommendationJobOutputConfigBuilder
source§impl PartialEq<RecommendationJobOutputConfigBuilder> for RecommendationJobOutputConfigBuilder
impl PartialEq<RecommendationJobOutputConfigBuilder> for RecommendationJobOutputConfigBuilder
source§fn eq(&self, other: &RecommendationJobOutputConfigBuilder) -> bool
fn eq(&self, other: &RecommendationJobOutputConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.