Struct aws_sdk_sagemaker::types::ClusterNodeSummary
source · #[non_exhaustive]pub struct ClusterNodeSummary {
pub instance_group_name: Option<String>,
pub instance_id: Option<String>,
pub instance_type: Option<ClusterInstanceType>,
pub launch_time: Option<DateTime>,
pub instance_status: Option<ClusterInstanceStatusDetails>,
}
Expand description
Lists a summary of the properties of an instance (also called a node interchangeably) of 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 name of the instance group in which the instance is.
instance_id: Option<String>
The ID of the instance.
instance_type: Option<ClusterInstanceType>
The type of the instance.
launch_time: Option<DateTime>
The time when the instance is launched.
instance_status: Option<ClusterInstanceStatusDetails>
The status of the instance.
Implementations§
source§impl ClusterNodeSummary
impl ClusterNodeSummary
sourcepub fn instance_group_name(&self) -> Option<&str>
pub fn instance_group_name(&self) -> Option<&str>
The name of the instance group 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_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 instance_status(&self) -> Option<&ClusterInstanceStatusDetails>
pub fn instance_status(&self) -> Option<&ClusterInstanceStatusDetails>
The status of the instance.
source§impl ClusterNodeSummary
impl ClusterNodeSummary
sourcepub fn builder() -> ClusterNodeSummaryBuilder
pub fn builder() -> ClusterNodeSummaryBuilder
Creates a new builder-style object to manufacture ClusterNodeSummary
.
Trait Implementations§
source§impl Clone for ClusterNodeSummary
impl Clone for ClusterNodeSummary
source§fn clone(&self) -> ClusterNodeSummary
fn clone(&self) -> ClusterNodeSummary
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 ClusterNodeSummary
impl Debug for ClusterNodeSummary
source§impl PartialEq for ClusterNodeSummary
impl PartialEq for ClusterNodeSummary
source§fn eq(&self, other: &ClusterNodeSummary) -> bool
fn eq(&self, other: &ClusterNodeSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClusterNodeSummary
Auto Trait Implementations§
impl RefUnwindSafe for ClusterNodeSummary
impl Send for ClusterNodeSummary
impl Sync for ClusterNodeSummary
impl Unpin for ClusterNodeSummary
impl UnwindSafe for ClusterNodeSummary
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>
Creates a shared type from an unshared type.