#[non_exhaustive]pub struct OptimizationJobModelSourceS3Builder { /* private fields */ }
Expand description
A builder for OptimizationJobModelSourceS3
.
Implementations§
source§impl OptimizationJobModelSourceS3Builder
impl OptimizationJobModelSourceS3Builder
sourcepub fn s3_uri(self, input: impl Into<String>) -> Self
pub fn s3_uri(self, input: impl Into<String>) -> Self
An Amazon S3 URI that locates a source model to optimize with an optimization job.
sourcepub fn set_s3_uri(self, input: Option<String>) -> Self
pub fn set_s3_uri(self, input: Option<String>) -> Self
An Amazon S3 URI that locates a source model to optimize with an optimization job.
sourcepub fn get_s3_uri(&self) -> &Option<String>
pub fn get_s3_uri(&self) -> &Option<String>
An Amazon S3 URI that locates a source model to optimize with an optimization job.
sourcepub fn model_access_config(self, input: OptimizationModelAccessConfig) -> Self
pub fn model_access_config(self, input: OptimizationModelAccessConfig) -> Self
The access configuration settings for the source ML model for an optimization job, where you can accept the model end-user license agreement (EULA).
sourcepub fn set_model_access_config(
self,
input: Option<OptimizationModelAccessConfig>,
) -> Self
pub fn set_model_access_config( self, input: Option<OptimizationModelAccessConfig>, ) -> Self
The access configuration settings for the source ML model for an optimization job, where you can accept the model end-user license agreement (EULA).
sourcepub fn get_model_access_config(&self) -> &Option<OptimizationModelAccessConfig>
pub fn get_model_access_config(&self) -> &Option<OptimizationModelAccessConfig>
The access configuration settings for the source ML model for an optimization job, where you can accept the model end-user license agreement (EULA).
sourcepub fn build(self) -> OptimizationJobModelSourceS3
pub fn build(self) -> OptimizationJobModelSourceS3
Consumes the builder and constructs a OptimizationJobModelSourceS3
.
Trait Implementations§
source§impl Clone for OptimizationJobModelSourceS3Builder
impl Clone for OptimizationJobModelSourceS3Builder
source§fn clone(&self) -> OptimizationJobModelSourceS3Builder
fn clone(&self) -> OptimizationJobModelSourceS3Builder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for OptimizationJobModelSourceS3Builder
impl Default for OptimizationJobModelSourceS3Builder
source§fn default() -> OptimizationJobModelSourceS3Builder
fn default() -> OptimizationJobModelSourceS3Builder
source§impl PartialEq for OptimizationJobModelSourceS3Builder
impl PartialEq for OptimizationJobModelSourceS3Builder
source§fn eq(&self, other: &OptimizationJobModelSourceS3Builder) -> bool
fn eq(&self, other: &OptimizationJobModelSourceS3Builder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OptimizationJobModelSourceS3Builder
Auto Trait Implementations§
impl Freeze for OptimizationJobModelSourceS3Builder
impl RefUnwindSafe for OptimizationJobModelSourceS3Builder
impl Send for OptimizationJobModelSourceS3Builder
impl Sync for OptimizationJobModelSourceS3Builder
impl Unpin for OptimizationJobModelSourceS3Builder
impl UnwindSafe for OptimizationJobModelSourceS3Builder
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