pub struct Builder { /* private fields */ }Expand description
A builder for Algorithm.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn algorithm_arn(self, input: impl Into<String>) -> Self
pub fn algorithm_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the algorithm.
sourcepub fn set_algorithm_arn(self, input: Option<String>) -> Self
pub fn set_algorithm_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the algorithm.
sourcepub fn algorithm_image(self, input: AlgorithmImage) -> Self
pub fn algorithm_image(self, input: AlgorithmImage) -> Self
The URI of the Docker container for the algorithm image.
sourcepub fn set_algorithm_image(self, input: Option<AlgorithmImage>) -> Self
pub fn set_algorithm_image(self, input: Option<AlgorithmImage>) -> Self
The URI of the Docker container for the algorithm image.
sourcepub fn default_hyper_parameters(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn default_hyper_parameters(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to default_hyper_parameters.
To override the contents of this collection use set_default_hyper_parameters.
Specifies the default hyperparameters.
sourcepub fn set_default_hyper_parameters(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_default_hyper_parameters(
self,
input: Option<HashMap<String, String>>
) -> Self
Specifies the default hyperparameters.
sourcepub fn default_hyper_parameter_ranges(
self,
input: DefaultHyperParameterRanges
) -> Self
pub fn default_hyper_parameter_ranges(
self,
input: DefaultHyperParameterRanges
) -> Self
Specifies the default hyperparameters, their ranges, and whether they are tunable. A tunable hyperparameter can have its value determined during hyperparameter optimization (HPO).
sourcepub fn set_default_hyper_parameter_ranges(
self,
input: Option<DefaultHyperParameterRanges>
) -> Self
pub fn set_default_hyper_parameter_ranges(
self,
input: Option<DefaultHyperParameterRanges>
) -> Self
Specifies the default hyperparameters, their ranges, and whether they are tunable. A tunable hyperparameter can have its value determined during hyperparameter optimization (HPO).
sourcepub fn default_resource_config(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn default_resource_config(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to default_resource_config.
To override the contents of this collection use set_default_resource_config.
Specifies the default maximum number of training jobs and parallel training jobs.
sourcepub fn set_default_resource_config(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_default_resource_config(
self,
input: Option<HashMap<String, String>>
) -> Self
Specifies the default maximum number of training jobs and parallel training jobs.
sourcepub fn training_input_mode(self, input: impl Into<String>) -> Self
pub fn training_input_mode(self, input: impl Into<String>) -> Self
The training input mode.
sourcepub fn set_training_input_mode(self, input: Option<String>) -> Self
pub fn set_training_input_mode(self, input: Option<String>) -> Self
The training input mode.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the role.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the role.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time (in Unix time) that the algorithm was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time (in Unix time) that the algorithm was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The date and time (in Unix time) that the algorithm was last updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The date and time (in Unix time) that the algorithm was last updated.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more