Struct aws_sdk_sagemaker::types::builders::IdleSettingsBuilder
source · #[non_exhaustive]pub struct IdleSettingsBuilder { /* private fields */ }Expand description
A builder for IdleSettings.
Implementations§
source§impl IdleSettingsBuilder
impl IdleSettingsBuilder
sourcepub fn lifecycle_management(self, input: LifecycleManagement) -> Self
pub fn lifecycle_management(self, input: LifecycleManagement) -> Self
Indicates whether idle shutdown is activated for the application type.
sourcepub fn set_lifecycle_management(
self,
input: Option<LifecycleManagement>,
) -> Self
pub fn set_lifecycle_management( self, input: Option<LifecycleManagement>, ) -> Self
Indicates whether idle shutdown is activated for the application type.
sourcepub fn get_lifecycle_management(&self) -> &Option<LifecycleManagement>
pub fn get_lifecycle_management(&self) -> &Option<LifecycleManagement>
Indicates whether idle shutdown is activated for the application type.
sourcepub fn idle_timeout_in_minutes(self, input: i32) -> Self
pub fn idle_timeout_in_minutes(self, input: i32) -> Self
The time that SageMaker waits after the application becomes idle before shutting it down.
sourcepub fn set_idle_timeout_in_minutes(self, input: Option<i32>) -> Self
pub fn set_idle_timeout_in_minutes(self, input: Option<i32>) -> Self
The time that SageMaker waits after the application becomes idle before shutting it down.
sourcepub fn get_idle_timeout_in_minutes(&self) -> &Option<i32>
pub fn get_idle_timeout_in_minutes(&self) -> &Option<i32>
The time that SageMaker waits after the application becomes idle before shutting it down.
sourcepub fn min_idle_timeout_in_minutes(self, input: i32) -> Self
pub fn min_idle_timeout_in_minutes(self, input: i32) -> Self
The minimum value in minutes that custom idle shutdown can be set to by the user.
sourcepub fn set_min_idle_timeout_in_minutes(self, input: Option<i32>) -> Self
pub fn set_min_idle_timeout_in_minutes(self, input: Option<i32>) -> Self
The minimum value in minutes that custom idle shutdown can be set to by the user.
sourcepub fn get_min_idle_timeout_in_minutes(&self) -> &Option<i32>
pub fn get_min_idle_timeout_in_minutes(&self) -> &Option<i32>
The minimum value in minutes that custom idle shutdown can be set to by the user.
sourcepub fn max_idle_timeout_in_minutes(self, input: i32) -> Self
pub fn max_idle_timeout_in_minutes(self, input: i32) -> Self
The maximum value in minutes that custom idle shutdown can be set to by the user.
sourcepub fn set_max_idle_timeout_in_minutes(self, input: Option<i32>) -> Self
pub fn set_max_idle_timeout_in_minutes(self, input: Option<i32>) -> Self
The maximum value in minutes that custom idle shutdown can be set to by the user.
sourcepub fn get_max_idle_timeout_in_minutes(&self) -> &Option<i32>
pub fn get_max_idle_timeout_in_minutes(&self) -> &Option<i32>
The maximum value in minutes that custom idle shutdown can be set to by the user.
sourcepub fn build(self) -> IdleSettings
pub fn build(self) -> IdleSettings
Consumes the builder and constructs a IdleSettings.
Trait Implementations§
source§impl Clone for IdleSettingsBuilder
impl Clone for IdleSettingsBuilder
source§fn clone(&self) -> IdleSettingsBuilder
fn clone(&self) -> IdleSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IdleSettingsBuilder
impl Debug for IdleSettingsBuilder
source§impl Default for IdleSettingsBuilder
impl Default for IdleSettingsBuilder
source§fn default() -> IdleSettingsBuilder
fn default() -> IdleSettingsBuilder
source§impl PartialEq for IdleSettingsBuilder
impl PartialEq for IdleSettingsBuilder
impl StructuralPartialEq for IdleSettingsBuilder
Auto Trait Implementations§
impl Freeze for IdleSettingsBuilder
impl RefUnwindSafe for IdleSettingsBuilder
impl Send for IdleSettingsBuilder
impl Sync for IdleSettingsBuilder
impl Unpin for IdleSettingsBuilder
impl UnwindSafe for IdleSettingsBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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