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>,
pub instance_storage_configs: Option<Vec<ClusterInstanceStorageConfig>>,
pub private_primary_ip: Option<String>,
pub private_dns_hostname: Option<String>,
pub placement: Option<ClusterInstancePlacement>,
}
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
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
.
instance_storage_configs: Option<Vec<ClusterInstanceStorageConfig>>
The configurations of additional storage specified to the instance group where the instance (node) is launched.
private_primary_ip: Option<String>
The private primary IP address of the SageMaker HyperPod cluster node.
private_dns_hostname: Option<String>
The private DNS hostname of the SageMaker HyperPod cluster node.
placement: Option<ClusterInstancePlacement>
The placement details of the SageMaker HyperPod cluster node.
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
.
sourcepub fn instance_storage_configs(&self) -> &[ClusterInstanceStorageConfig]
pub fn instance_storage_configs(&self) -> &[ClusterInstanceStorageConfig]
The configurations of additional storage specified to the instance group where the instance (node) is launched.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instance_storage_configs.is_none()
.
sourcepub fn private_primary_ip(&self) -> Option<&str>
pub fn private_primary_ip(&self) -> Option<&str>
The private primary IP address of the SageMaker HyperPod cluster node.
sourcepub fn private_dns_hostname(&self) -> Option<&str>
pub fn private_dns_hostname(&self) -> Option<&str>
The private DNS hostname of the SageMaker HyperPod cluster node.
sourcepub fn placement(&self) -> Option<&ClusterInstancePlacement>
pub fn placement(&self) -> Option<&ClusterInstancePlacement>
The placement details of the SageMaker HyperPod cluster node.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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