Struct aws_sdk_emrserverless::types::WorkerResourceConfig
source · #[non_exhaustive]pub struct WorkerResourceConfig {
pub cpu: Option<String>,
pub memory: Option<String>,
pub disk: 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: Option<String>
The CPU requirements for every worker instance of the worker type.
memory: Option<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.
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<WorkerResourceConfig> for WorkerResourceConfig
impl PartialEq<WorkerResourceConfig> 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 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