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 ==
.impl StructuralPartialEq for ResourceUtilization
Auto Trait Implementations§
impl Freeze for ResourceUtilization
impl RefUnwindSafe for ResourceUtilization
impl Send for ResourceUtilization
impl Sync for ResourceUtilization
impl Unpin for ResourceUtilization
impl UnwindSafe for ResourceUtilization
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