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
source§impl PartialEq for ManagedScalingPolicyBuilder
impl PartialEq for ManagedScalingPolicyBuilder
source§fn eq(&self, other: &ManagedScalingPolicyBuilder) -> bool
fn eq(&self, other: &ManagedScalingPolicyBuilder) -> bool
self and other values to be equal, and is used
by ==.