Struct aws_sdk_emr::types::ManagedScalingPolicy
source · #[non_exhaustive]pub struct ManagedScalingPolicy {
pub compute_limits: Option<ComputeLimits>,
}Expand description
Managed scaling policy for an Amazon EMR cluster. The policy specifies the limits for resources that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
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.compute_limits: Option<ComputeLimits>The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
Implementations§
source§impl ManagedScalingPolicy
impl ManagedScalingPolicy
sourcepub fn compute_limits(&self) -> Option<&ComputeLimits>
pub fn compute_limits(&self) -> Option<&ComputeLimits>
The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
source§impl ManagedScalingPolicy
impl ManagedScalingPolicy
sourcepub fn builder() -> ManagedScalingPolicyBuilder
pub fn builder() -> ManagedScalingPolicyBuilder
Creates a new builder-style object to manufacture ManagedScalingPolicy.
Trait Implementations§
source§impl Clone for ManagedScalingPolicy
impl Clone for ManagedScalingPolicy
source§fn clone(&self) -> ManagedScalingPolicy
fn clone(&self) -> ManagedScalingPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ManagedScalingPolicy
impl Debug for ManagedScalingPolicy
source§impl PartialEq for ManagedScalingPolicy
impl PartialEq for ManagedScalingPolicy
impl StructuralPartialEq for ManagedScalingPolicy
Auto Trait Implementations§
impl Freeze for ManagedScalingPolicy
impl RefUnwindSafe for ManagedScalingPolicy
impl Send for ManagedScalingPolicy
impl Sync for ManagedScalingPolicy
impl Unpin for ManagedScalingPolicy
impl UnwindSafe for ManagedScalingPolicy
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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