#[non_exhaustive]pub struct ClusterNodeDetailsBuilder { /* private fields */ }
Expand description
A builder for ClusterNodeDetails
.
Implementations§
source§impl ClusterNodeDetailsBuilder
impl ClusterNodeDetailsBuilder
sourcepub fn instance_group_name(self, input: impl Into<String>) -> Self
pub fn instance_group_name(self, input: impl Into<String>) -> Self
The instance group name in which the instance is.
sourcepub fn set_instance_group_name(self, input: Option<String>) -> Self
pub fn set_instance_group_name(self, input: Option<String>) -> Self
The instance group name in which the instance is.
sourcepub fn get_instance_group_name(&self) -> &Option<String>
pub fn get_instance_group_name(&self) -> &Option<String>
The instance group name in which the instance is.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance.
sourcepub fn instance_status(self, input: ClusterInstanceStatusDetails) -> Self
pub fn instance_status(self, input: ClusterInstanceStatusDetails) -> Self
The status of the instance.
sourcepub fn set_instance_status(
self,
input: Option<ClusterInstanceStatusDetails>,
) -> Self
pub fn set_instance_status( self, input: Option<ClusterInstanceStatusDetails>, ) -> Self
The status of the instance.
sourcepub fn get_instance_status(&self) -> &Option<ClusterInstanceStatusDetails>
pub fn get_instance_status(&self) -> &Option<ClusterInstanceStatusDetails>
The status of the instance.
sourcepub fn instance_type(self, input: ClusterInstanceType) -> Self
pub fn instance_type(self, input: ClusterInstanceType) -> Self
The type of the instance.
sourcepub fn set_instance_type(self, input: Option<ClusterInstanceType>) -> Self
pub fn set_instance_type(self, input: Option<ClusterInstanceType>) -> Self
The type of the instance.
sourcepub fn get_instance_type(&self) -> &Option<ClusterInstanceType>
pub fn get_instance_type(&self) -> &Option<ClusterInstanceType>
The type of the instance.
sourcepub fn launch_time(self, input: DateTime) -> Self
pub fn launch_time(self, input: DateTime) -> Self
The time when the instance is launched.
sourcepub fn set_launch_time(self, input: Option<DateTime>) -> Self
pub fn set_launch_time(self, input: Option<DateTime>) -> Self
The time when the instance is launched.
sourcepub fn get_launch_time(&self) -> &Option<DateTime>
pub fn get_launch_time(&self) -> &Option<DateTime>
The time when the instance is launched.
sourcepub fn life_cycle_config(self, input: ClusterLifeCycleConfig) -> Self
pub fn life_cycle_config(self, input: ClusterLifeCycleConfig) -> Self
The LifeCycle configuration applied to the instance.
sourcepub fn set_life_cycle_config(
self,
input: Option<ClusterLifeCycleConfig>,
) -> Self
pub fn set_life_cycle_config( self, input: Option<ClusterLifeCycleConfig>, ) -> Self
The LifeCycle configuration applied to the instance.
sourcepub fn get_life_cycle_config(&self) -> &Option<ClusterLifeCycleConfig>
pub fn get_life_cycle_config(&self) -> &Option<ClusterLifeCycleConfig>
The LifeCycle configuration applied to the instance.
sourcepub fn threads_per_core(self, input: i32) -> Self
pub fn threads_per_core(self, input: i32) -> Self
The number of threads per CPU core you specified under CreateCluster
.
sourcepub fn set_threads_per_core(self, input: Option<i32>) -> Self
pub fn set_threads_per_core(self, input: Option<i32>) -> Self
The number of threads per CPU core you specified under CreateCluster
.
sourcepub fn get_threads_per_core(&self) -> &Option<i32>
pub fn get_threads_per_core(&self) -> &Option<i32>
The number of threads per CPU core you specified under CreateCluster
.
sourcepub fn instance_storage_configs(
self,
input: ClusterInstanceStorageConfig,
) -> Self
pub fn instance_storage_configs( self, input: ClusterInstanceStorageConfig, ) -> Self
Appends an item to instance_storage_configs
.
To override the contents of this collection use set_instance_storage_configs
.
The configurations of additional storage specified to the instance group where the instance (node) is launched.
sourcepub fn set_instance_storage_configs(
self,
input: Option<Vec<ClusterInstanceStorageConfig>>,
) -> Self
pub fn set_instance_storage_configs( self, input: Option<Vec<ClusterInstanceStorageConfig>>, ) -> Self
The configurations of additional storage specified to the instance group where the instance (node) is launched.
sourcepub fn get_instance_storage_configs(
&self,
) -> &Option<Vec<ClusterInstanceStorageConfig>>
pub fn get_instance_storage_configs( &self, ) -> &Option<Vec<ClusterInstanceStorageConfig>>
The configurations of additional storage specified to the instance group where the instance (node) is launched.
sourcepub fn private_primary_ip(self, input: impl Into<String>) -> Self
pub fn private_primary_ip(self, input: impl Into<String>) -> Self
The private primary IP address of the SageMaker HyperPod cluster node.
sourcepub fn set_private_primary_ip(self, input: Option<String>) -> Self
pub fn set_private_primary_ip(self, input: Option<String>) -> Self
The private primary IP address of the SageMaker HyperPod cluster node.
sourcepub fn get_private_primary_ip(&self) -> &Option<String>
pub fn get_private_primary_ip(&self) -> &Option<String>
The private primary IP address of the SageMaker HyperPod cluster node.
sourcepub fn private_dns_hostname(self, input: impl Into<String>) -> Self
pub fn private_dns_hostname(self, input: impl Into<String>) -> Self
The private DNS hostname of the SageMaker HyperPod cluster node.
sourcepub fn set_private_dns_hostname(self, input: Option<String>) -> Self
pub fn set_private_dns_hostname(self, input: Option<String>) -> Self
The private DNS hostname of the SageMaker HyperPod cluster node.
sourcepub fn get_private_dns_hostname(&self) -> &Option<String>
pub fn get_private_dns_hostname(&self) -> &Option<String>
The private DNS hostname of the SageMaker HyperPod cluster node.
sourcepub fn placement(self, input: ClusterInstancePlacement) -> Self
pub fn placement(self, input: ClusterInstancePlacement) -> Self
The placement details of the SageMaker HyperPod cluster node.
sourcepub fn set_placement(self, input: Option<ClusterInstancePlacement>) -> Self
pub fn set_placement(self, input: Option<ClusterInstancePlacement>) -> Self
The placement details of the SageMaker HyperPod cluster node.
sourcepub fn get_placement(&self) -> &Option<ClusterInstancePlacement>
pub fn get_placement(&self) -> &Option<ClusterInstancePlacement>
The placement details of the SageMaker HyperPod cluster node.
sourcepub fn build(self) -> ClusterNodeDetails
pub fn build(self) -> ClusterNodeDetails
Consumes the builder and constructs a ClusterNodeDetails
.
Trait Implementations§
source§impl Clone for ClusterNodeDetailsBuilder
impl Clone for ClusterNodeDetailsBuilder
source§fn clone(&self) -> ClusterNodeDetailsBuilder
fn clone(&self) -> ClusterNodeDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterNodeDetailsBuilder
impl Debug for ClusterNodeDetailsBuilder
source§impl Default for ClusterNodeDetailsBuilder
impl Default for ClusterNodeDetailsBuilder
source§fn default() -> ClusterNodeDetailsBuilder
fn default() -> ClusterNodeDetailsBuilder
source§impl PartialEq for ClusterNodeDetailsBuilder
impl PartialEq for ClusterNodeDetailsBuilder
source§fn eq(&self, other: &ClusterNodeDetailsBuilder) -> bool
fn eq(&self, other: &ClusterNodeDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClusterNodeDetailsBuilder
Auto Trait Implementations§
impl Freeze for ClusterNodeDetailsBuilder
impl RefUnwindSafe for ClusterNodeDetailsBuilder
impl Send for ClusterNodeDetailsBuilder
impl Sync for ClusterNodeDetailsBuilder
impl Unpin for ClusterNodeDetailsBuilder
impl UnwindSafe for ClusterNodeDetailsBuilder
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