#[non_exhaustive]pub struct ResourceUtilizationBuilder { /* private fields */ }Expand description
A builder for ResourceUtilization.
Implementations§
source§impl ResourceUtilizationBuilder
impl ResourceUtilizationBuilder
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 the job starts executing until the 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 the job starts executing until the 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 the job starts executing until the 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 the job starts executing until the 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 the job starts executing until the 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 the job starts executing until the job is terminated.
sourcepub fn build(self) -> ResourceUtilization
pub fn build(self) -> ResourceUtilization
Consumes the builder and constructs a ResourceUtilization.
Trait Implementations§
source§impl Clone for ResourceUtilizationBuilder
impl Clone for ResourceUtilizationBuilder
source§fn clone(&self) -> ResourceUtilizationBuilder
fn clone(&self) -> ResourceUtilizationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ResourceUtilizationBuilder
impl Debug for ResourceUtilizationBuilder
source§impl Default for ResourceUtilizationBuilder
impl Default for ResourceUtilizationBuilder
source§fn default() -> ResourceUtilizationBuilder
fn default() -> ResourceUtilizationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ResourceUtilizationBuilder> for ResourceUtilizationBuilder
impl PartialEq<ResourceUtilizationBuilder> for ResourceUtilizationBuilder
source§fn eq(&self, other: &ResourceUtilizationBuilder) -> bool
fn eq(&self, other: &ResourceUtilizationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResourceUtilizationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ResourceUtilizationBuilder
impl Send for ResourceUtilizationBuilder
impl Sync for ResourceUtilizationBuilder
impl Unpin for ResourceUtilizationBuilder
impl UnwindSafe for ResourceUtilizationBuilder
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
Mutably borrows from an owned value. Read more