Struct aws_sdk_emr::model::managed_scaling_policy::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ManagedScalingPolicy.
Implementations
sourceimpl Builder
impl Builder
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
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more