#[non_exhaustive]pub struct TotalResourceUtilizationBuilder { /* private fields */ }
Expand description
A builder for TotalResourceUtilization
.
Implementations§
source§impl TotalResourceUtilizationBuilder
impl TotalResourceUtilizationBuilder
sourcepub fn v_cpu_hour(self, input: f64) -> Self
pub fn v_cpu_hour(self, input: f64) -> Self
The aggregated vCPU used per hour from the time job start executing till the time job is terminated.
sourcepub fn set_v_cpu_hour(self, input: Option<f64>) -> Self
pub fn set_v_cpu_hour(self, input: Option<f64>) -> Self
The aggregated vCPU used per hour from the time job start executing till the time job is terminated.
sourcepub fn get_v_cpu_hour(&self) -> &Option<f64>
pub fn get_v_cpu_hour(&self) -> &Option<f64>
The aggregated vCPU used per hour from the time job start executing till the time job is terminated.
sourcepub fn memory_gb_hour(self, input: f64) -> Self
pub fn memory_gb_hour(self, input: f64) -> Self
The aggregated memory used per hour from the time job start executing till the time job is terminated.
sourcepub fn set_memory_gb_hour(self, input: Option<f64>) -> Self
pub fn set_memory_gb_hour(self, input: Option<f64>) -> Self
The aggregated memory used per hour from the time job start executing till the time job is terminated.
sourcepub fn get_memory_gb_hour(&self) -> &Option<f64>
pub fn get_memory_gb_hour(&self) -> &Option<f64>
The aggregated memory used per hour from the time job start executing till the time job is terminated.
sourcepub fn storage_gb_hour(self, input: f64) -> Self
pub fn storage_gb_hour(self, input: f64) -> Self
The aggregated storage used per hour from the time job start executing till the time job is terminated.
sourcepub fn set_storage_gb_hour(self, input: Option<f64>) -> Self
pub fn set_storage_gb_hour(self, input: Option<f64>) -> Self
The aggregated storage used per hour from the time job start executing till the time job is terminated.
sourcepub fn get_storage_gb_hour(&self) -> &Option<f64>
pub fn get_storage_gb_hour(&self) -> &Option<f64>
The aggregated storage used per hour from the time job start executing till the time job is terminated.
sourcepub fn build(self) -> TotalResourceUtilization
pub fn build(self) -> TotalResourceUtilization
Consumes the builder and constructs a TotalResourceUtilization
.
Trait Implementations§
source§impl Clone for TotalResourceUtilizationBuilder
impl Clone for TotalResourceUtilizationBuilder
source§fn clone(&self) -> TotalResourceUtilizationBuilder
fn clone(&self) -> TotalResourceUtilizationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TotalResourceUtilizationBuilder
impl Default for TotalResourceUtilizationBuilder
source§fn default() -> TotalResourceUtilizationBuilder
fn default() -> TotalResourceUtilizationBuilder
source§impl PartialEq for TotalResourceUtilizationBuilder
impl PartialEq for TotalResourceUtilizationBuilder
source§fn eq(&self, other: &TotalResourceUtilizationBuilder) -> bool
fn eq(&self, other: &TotalResourceUtilizationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TotalResourceUtilizationBuilder
Auto Trait Implementations§
impl Freeze for TotalResourceUtilizationBuilder
impl RefUnwindSafe for TotalResourceUtilizationBuilder
impl Send for TotalResourceUtilizationBuilder
impl Sync for TotalResourceUtilizationBuilder
impl Unpin for TotalResourceUtilizationBuilder
impl UnwindSafe for TotalResourceUtilizationBuilder
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> 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