Struct aws_sdk_sagemaker::types::ClusterNodeDetails
source · #[non_exhaustive]pub struct ClusterNodeDetails {
pub instance_group_name: Option<String>,
pub instance_id: Option<String>,
pub instance_status: Option<ClusterInstanceStatusDetails>,
pub instance_type: Option<ClusterInstanceType>,
pub launch_time: Option<DateTime>,
pub life_cycle_config: Option<ClusterLifeCycleConfig>,
pub threads_per_core: Option<i32>,
}
Expand description
Details of an instance (also called a node interchangeably) in a SageMaker HyperPod cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_group_name: Option<String>
The instance group name in which the instance is.
instance_id: Option<String>
The ID of the instance.
instance_status: Option<ClusterInstanceStatusDetails>
The status of the instance.
instance_type: Option<ClusterInstanceType>
The type of the instance.
launch_time: Option<DateTime>
The time when the instance is launched.
life_cycle_config: Option<ClusterLifeCycleConfig>
The LifeCycle configuration applied to the instance.
threads_per_core: Option<i32>
The number of threads per CPU core you specified under CreateCluster
.
Implementations§
source§impl ClusterNodeDetails
impl ClusterNodeDetails
sourcepub fn instance_group_name(&self) -> Option<&str>
pub fn instance_group_name(&self) -> Option<&str>
The instance group name in which the instance is.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance.
sourcepub fn instance_status(&self) -> Option<&ClusterInstanceStatusDetails>
pub fn instance_status(&self) -> Option<&ClusterInstanceStatusDetails>
The status of the instance.
sourcepub fn instance_type(&self) -> Option<&ClusterInstanceType>
pub fn instance_type(&self) -> Option<&ClusterInstanceType>
The type of the instance.
sourcepub fn launch_time(&self) -> Option<&DateTime>
pub fn launch_time(&self) -> Option<&DateTime>
The time when the instance is launched.
sourcepub fn life_cycle_config(&self) -> Option<&ClusterLifeCycleConfig>
pub fn life_cycle_config(&self) -> Option<&ClusterLifeCycleConfig>
The LifeCycle configuration applied to the instance.
sourcepub fn threads_per_core(&self) -> Option<i32>
pub fn threads_per_core(&self) -> Option<i32>
The number of threads per CPU core you specified under CreateCluster
.
source§impl ClusterNodeDetails
impl ClusterNodeDetails
sourcepub fn builder() -> ClusterNodeDetailsBuilder
pub fn builder() -> ClusterNodeDetailsBuilder
Creates a new builder-style object to manufacture ClusterNodeDetails
.
Trait Implementations§
source§impl Clone for ClusterNodeDetails
impl Clone for ClusterNodeDetails
source§fn clone(&self) -> ClusterNodeDetails
fn clone(&self) -> ClusterNodeDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClusterNodeDetails
impl Debug for ClusterNodeDetails
source§impl PartialEq for ClusterNodeDetails
impl PartialEq for ClusterNodeDetails
source§fn eq(&self, other: &ClusterNodeDetails) -> bool
fn eq(&self, other: &ClusterNodeDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClusterNodeDetails
Auto Trait Implementations§
impl Freeze for ClusterNodeDetails
impl RefUnwindSafe for ClusterNodeDetails
impl Send for ClusterNodeDetails
impl Sync for ClusterNodeDetails
impl Unpin for ClusterNodeDetails
impl UnwindSafe for ClusterNodeDetails
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.