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 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 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
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 ManagedScalingPolicyBuilder
impl Debug for ManagedScalingPolicyBuilder
source§impl Default for ManagedScalingPolicyBuilder
impl Default for ManagedScalingPolicyBuilder
source§fn default() -> ManagedScalingPolicyBuilder
fn default() -> ManagedScalingPolicyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ManagedScalingPolicyBuilder> for ManagedScalingPolicyBuilder
impl PartialEq<ManagedScalingPolicyBuilder> for ManagedScalingPolicyBuilder
source§fn eq(&self, other: &ManagedScalingPolicyBuilder) -> bool
fn eq(&self, other: &ManagedScalingPolicyBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.