Struct aws_sdk_emr::types::builders::ManagedScalingPolicyBuilder
source · #[non_exhaustive]pub struct ManagedScalingPolicyBuilder { /* private fields */ }Expand description
A builder for ManagedScalingPolicy.
Implementations§
source§impl ManagedScalingPolicyBuilder
impl ManagedScalingPolicyBuilder
sourcepub fn compute_limits(self, input: ComputeLimits) -> Self
pub fn compute_limits(self, input: ComputeLimits) -> Self
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.
sourcepub fn set_compute_limits(self, input: Option<ComputeLimits>) -> Self
pub fn set_compute_limits(self, input: Option<ComputeLimits>) -> Self
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.
sourcepub fn get_compute_limits(&self) -> &Option<ComputeLimits>
pub fn get_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.
sourcepub fn build(self) -> ManagedScalingPolicy
pub fn build(self) -> ManagedScalingPolicy
Consumes the builder and constructs a ManagedScalingPolicy.
Trait Implementations§
source§impl Clone for ManagedScalingPolicyBuilder
impl Clone for ManagedScalingPolicyBuilder
source§fn clone(&self) -> ManagedScalingPolicyBuilder
fn clone(&self) -> ManagedScalingPolicyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ManagedScalingPolicyBuilder
impl Debug for ManagedScalingPolicyBuilder
source§impl Default for ManagedScalingPolicyBuilder
impl Default for ManagedScalingPolicyBuilder
source§fn default() -> ManagedScalingPolicyBuilder
fn default() -> ManagedScalingPolicyBuilder
impl StructuralPartialEq for ManagedScalingPolicyBuilder
Auto Trait Implementations§
impl Freeze for ManagedScalingPolicyBuilder
impl RefUnwindSafe for ManagedScalingPolicyBuilder
impl Send for ManagedScalingPolicyBuilder
impl Sync for ManagedScalingPolicyBuilder
impl Unpin for ManagedScalingPolicyBuilder
impl UnwindSafe for ManagedScalingPolicyBuilder
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