Struct aws_sdk_emrserverless::types::ResourceUtilization
source · #[non_exhaustive]pub struct ResourceUtilization {
pub v_cpu_hour: Option<f64>,
pub memory_gb_hour: Option<f64>,
pub storage_gb_hour: Option<f64>,
}
Expand description
The resource utilization for memory, storage, and vCPU for jobs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.v_cpu_hour: Option<f64>
The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.
memory_gb_hour: Option<f64>
The aggregated memory used per hour from the time the job starts executing until the job is terminated.
storage_gb_hour: Option<f64>
The aggregated storage used per hour from the time the job starts executing until the job is terminated.
Implementations§
source§impl ResourceUtilization
impl ResourceUtilization
sourcepub fn v_cpu_hour(&self) -> Option<f64>
pub fn v_cpu_hour(&self) -> Option<f64>
The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.
sourcepub fn memory_gb_hour(&self) -> Option<f64>
pub fn memory_gb_hour(&self) -> Option<f64>
The aggregated memory used per hour from the time the job starts executing until the job is terminated.
sourcepub fn storage_gb_hour(&self) -> Option<f64>
pub fn storage_gb_hour(&self) -> Option<f64>
The aggregated storage used per hour from the time the job starts executing until the job is terminated.
source§impl ResourceUtilization
impl ResourceUtilization
sourcepub fn builder() -> ResourceUtilizationBuilder
pub fn builder() -> ResourceUtilizationBuilder
Creates a new builder-style object to manufacture ResourceUtilization
.
Trait Implementations§
source§impl Clone for ResourceUtilization
impl Clone for ResourceUtilization
source§fn clone(&self) -> ResourceUtilization
fn clone(&self) -> ResourceUtilization
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceUtilization
impl Debug for ResourceUtilization
source§impl PartialEq for ResourceUtilization
impl PartialEq for ResourceUtilization
source§fn eq(&self, other: &ResourceUtilization) -> bool
fn eq(&self, other: &ResourceUtilization) -> bool
self
and other
values to be equal, and is used
by ==
.