Struct rusoto_emr::ShrinkPolicy [−][src]
pub struct ShrinkPolicy { pub decommission_timeout: Option<i64>, pub instance_resize_policy: Option<InstanceResizePolicy>, }
Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.
Fields
decommission_timeout: Option<i64>
The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.
instance_resize_policy: Option<InstanceResizePolicy>
Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.
Trait Implementations
impl Default for ShrinkPolicy
[src]
impl Default for ShrinkPolicy
fn default() -> ShrinkPolicy
[src]
fn default() -> ShrinkPolicy
Returns the "default value" for a type. Read more
impl Debug for ShrinkPolicy
[src]
impl Debug for ShrinkPolicy
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ShrinkPolicy
[src]
impl Clone for ShrinkPolicy
fn clone(&self) -> ShrinkPolicy
[src]
fn clone(&self) -> ShrinkPolicy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ShrinkPolicy
[src]
impl PartialEq for ShrinkPolicy
fn eq(&self, other: &ShrinkPolicy) -> bool
[src]
fn eq(&self, other: &ShrinkPolicy) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ShrinkPolicy) -> bool
[src]
fn ne(&self, other: &ShrinkPolicy) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ShrinkPolicy
impl Send for ShrinkPolicy
impl Sync for ShrinkPolicy
impl Sync for ShrinkPolicy