#[non_exhaustive]pub struct ClusterEbsVolumeConfigBuilder { /* private fields */ }
Expand description
A builder for ClusterEbsVolumeConfig
.
Implementations§
source§impl ClusterEbsVolumeConfigBuilder
impl ClusterEbsVolumeConfigBuilder
sourcepub fn volume_size_in_gb(self, input: i32) -> Self
pub fn volume_size_in_gb(self, input: i32) -> Self
The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker
.
sourcepub fn set_volume_size_in_gb(self, input: Option<i32>) -> Self
pub fn set_volume_size_in_gb(self, input: Option<i32>) -> Self
The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker
.
sourcepub fn get_volume_size_in_gb(&self) -> &Option<i32>
pub fn get_volume_size_in_gb(&self) -> &Option<i32>
The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker
.
sourcepub fn build(self) -> ClusterEbsVolumeConfig
pub fn build(self) -> ClusterEbsVolumeConfig
Consumes the builder and constructs a ClusterEbsVolumeConfig
.
Trait Implementations§
source§impl Clone for ClusterEbsVolumeConfigBuilder
impl Clone for ClusterEbsVolumeConfigBuilder
source§fn clone(&self) -> ClusterEbsVolumeConfigBuilder
fn clone(&self) -> ClusterEbsVolumeConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ClusterEbsVolumeConfigBuilder
impl Default for ClusterEbsVolumeConfigBuilder
source§fn default() -> ClusterEbsVolumeConfigBuilder
fn default() -> ClusterEbsVolumeConfigBuilder
source§impl PartialEq for ClusterEbsVolumeConfigBuilder
impl PartialEq for ClusterEbsVolumeConfigBuilder
source§fn eq(&self, other: &ClusterEbsVolumeConfigBuilder) -> bool
fn eq(&self, other: &ClusterEbsVolumeConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClusterEbsVolumeConfigBuilder
Auto Trait Implementations§
impl Freeze for ClusterEbsVolumeConfigBuilder
impl RefUnwindSafe for ClusterEbsVolumeConfigBuilder
impl Send for ClusterEbsVolumeConfigBuilder
impl Sync for ClusterEbsVolumeConfigBuilder
impl Unpin for ClusterEbsVolumeConfigBuilder
impl UnwindSafe for ClusterEbsVolumeConfigBuilder
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