#[non_exhaustive]pub struct OptimizationJobOutputConfigBuilder { /* private fields */ }
Expand description
A builder for OptimizationJobOutputConfig
.
Implementations§
source§impl OptimizationJobOutputConfigBuilder
impl OptimizationJobOutputConfigBuilder
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 key in Amazon Web Services KMS. SageMaker uses they key to encrypt the artifacts of the optimized model when SageMaker uploads the model to Amazon S3.
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 key in Amazon Web Services KMS. SageMaker uses they key to encrypt the artifacts of the optimized model when SageMaker uploads the model to Amazon S3.
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 key in Amazon Web Services KMS. SageMaker uses they key to encrypt the artifacts of the optimized model when SageMaker uploads the model to Amazon S3.
sourcepub fn s3_output_location(self, input: impl Into<String>) -> Self
pub fn s3_output_location(self, input: impl Into<String>) -> Self
The Amazon S3 URI for where to store the optimized model that you create with an optimization job.
This field is required.sourcepub fn set_s3_output_location(self, input: Option<String>) -> Self
pub fn set_s3_output_location(self, input: Option<String>) -> Self
The Amazon S3 URI for where to store the optimized model that you create with an optimization job.
sourcepub fn get_s3_output_location(&self) -> &Option<String>
pub fn get_s3_output_location(&self) -> &Option<String>
The Amazon S3 URI for where to store the optimized model that you create with an optimization job.
sourcepub fn build(self) -> OptimizationJobOutputConfig
pub fn build(self) -> OptimizationJobOutputConfig
Consumes the builder and constructs a OptimizationJobOutputConfig
.
Trait Implementations§
source§impl Clone for OptimizationJobOutputConfigBuilder
impl Clone for OptimizationJobOutputConfigBuilder
source§fn clone(&self) -> OptimizationJobOutputConfigBuilder
fn clone(&self) -> OptimizationJobOutputConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for OptimizationJobOutputConfigBuilder
impl Default for OptimizationJobOutputConfigBuilder
source§fn default() -> OptimizationJobOutputConfigBuilder
fn default() -> OptimizationJobOutputConfigBuilder
source§impl PartialEq for OptimizationJobOutputConfigBuilder
impl PartialEq for OptimizationJobOutputConfigBuilder
source§fn eq(&self, other: &OptimizationJobOutputConfigBuilder) -> bool
fn eq(&self, other: &OptimizationJobOutputConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OptimizationJobOutputConfigBuilder
Auto Trait Implementations§
impl Freeze for OptimizationJobOutputConfigBuilder
impl RefUnwindSafe for OptimizationJobOutputConfigBuilder
impl Send for OptimizationJobOutputConfigBuilder
impl Sync for OptimizationJobOutputConfigBuilder
impl Unpin for OptimizationJobOutputConfigBuilder
impl UnwindSafe for OptimizationJobOutputConfigBuilder
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