#[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 for RecommendationJobOutputConfigBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for RecommendationJobOutputConfigBuilder
Auto Trait Implementations§
impl Freeze for RecommendationJobOutputConfigBuilder
impl RefUnwindSafe for RecommendationJobOutputConfigBuilder
impl Send for RecommendationJobOutputConfigBuilder
impl Sync for RecommendationJobOutputConfigBuilder
impl Unpin for RecommendationJobOutputConfigBuilder
impl UnwindSafe for RecommendationJobOutputConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more