Struct aws_sdk_sagemaker::types::IdleSettings
source · #[non_exhaustive]pub struct IdleSettings {
pub lifecycle_management: Option<LifecycleManagement>,
pub idle_timeout_in_minutes: Option<i32>,
pub min_idle_timeout_in_minutes: Option<i32>,
pub max_idle_timeout_in_minutes: Option<i32>,
}
Expand description
Settings related to idle shutdown of Studio applications.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.lifecycle_management: Option<LifecycleManagement>
Indicates whether idle shutdown is activated for the application type.
idle_timeout_in_minutes: Option<i32>
The time that SageMaker waits after the application becomes idle before shutting it down.
min_idle_timeout_in_minutes: Option<i32>
The minimum value in minutes that custom idle shutdown can be set to by the user.
max_idle_timeout_in_minutes: Option<i32>
The maximum value in minutes that custom idle shutdown can be set to by the user.
Implementations§
source§impl IdleSettings
impl IdleSettings
sourcepub fn lifecycle_management(&self) -> Option<&LifecycleManagement>
pub fn lifecycle_management(&self) -> Option<&LifecycleManagement>
Indicates whether idle shutdown is activated for the application type.
sourcepub fn idle_timeout_in_minutes(&self) -> Option<i32>
pub fn 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) -> Option<i32>
pub fn 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) -> Option<i32>
pub fn max_idle_timeout_in_minutes(&self) -> Option<i32>
The maximum value in minutes that custom idle shutdown can be set to by the user.
source§impl IdleSettings
impl IdleSettings
sourcepub fn builder() -> IdleSettingsBuilder
pub fn builder() -> IdleSettingsBuilder
Creates a new builder-style object to manufacture IdleSettings
.
Trait Implementations§
source§impl Clone for IdleSettings
impl Clone for IdleSettings
source§fn clone(&self) -> IdleSettings
fn clone(&self) -> IdleSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IdleSettings
impl Debug for IdleSettings
source§impl PartialEq for IdleSettings
impl PartialEq for IdleSettings
impl StructuralPartialEq for IdleSettings
Auto Trait Implementations§
impl Freeze for IdleSettings
impl RefUnwindSafe for IdleSettings
impl Send for IdleSettings
impl Sync for IdleSettings
impl Unpin for IdleSettings
impl UnwindSafe for IdleSettings
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