Struct aws_sdk_emrserverless::types::WorkerResourceConfig
source · #[non_exhaustive]pub struct WorkerResourceConfig {
pub cpu: String,
pub memory: String,
pub disk: Option<String>,
pub disk_type: Option<String>,
}
Expand description
The cumulative configuration requirements for every worker instance of the worker type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cpu: String
The CPU requirements for every worker instance of the worker type.
memory: String
The memory requirements for every worker instance of the worker type.
disk: Option<String>
The disk requirements for every worker instance of the worker type.
disk_type: Option<String>
The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance characteristics and are better for shuffle heavy workloads. Default is STANDARD
.
Implementations§
source§impl WorkerResourceConfig
impl WorkerResourceConfig
source§impl WorkerResourceConfig
impl WorkerResourceConfig
sourcepub fn builder() -> WorkerResourceConfigBuilder
pub fn builder() -> WorkerResourceConfigBuilder
Creates a new builder-style object to manufacture WorkerResourceConfig
.
Trait Implementations§
source§impl Clone for WorkerResourceConfig
impl Clone for WorkerResourceConfig
source§fn clone(&self) -> WorkerResourceConfig
fn clone(&self) -> WorkerResourceConfig
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 WorkerResourceConfig
impl Debug for WorkerResourceConfig
source§impl PartialEq for WorkerResourceConfig
impl PartialEq for WorkerResourceConfig
source§fn eq(&self, other: &WorkerResourceConfig) -> bool
fn eq(&self, other: &WorkerResourceConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkerResourceConfig
Auto Trait Implementations§
impl Freeze for WorkerResourceConfig
impl RefUnwindSafe for WorkerResourceConfig
impl Send for WorkerResourceConfig
impl Sync for WorkerResourceConfig
impl Unpin for WorkerResourceConfig
impl UnwindSafe for WorkerResourceConfig
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.