pub struct Builder { /* private fields */ }
Expand description
A builder for TotalResourceUtilization
.
Implementations
sourceimpl Builder
impl Builder
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 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 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 build(self) -> TotalResourceUtilization
pub fn build(self) -> TotalResourceUtilization
Consumes the builder and constructs a TotalResourceUtilization
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more