Struct rusoto_autoscaling::SetInstanceHealthQuery [−][src]
pub struct SetInstanceHealthQuery { pub health_status: String, pub instance_id: String, pub should_respect_grace_period: Option<bool>, }
Fields
health_status: String
The health status of the instance. Set to Healthy
if you want the instance to remain in service. Set to Unhealthy
if you want the instance to be out of service. Auto Scaling will terminate and replace the unhealthy instance.
instance_id: String
The ID of the instance.
should_respect_grace_period: Option<bool>
If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod
specified for the group, by default, this call will respect the grace period. Set this to False
, if you do not want the call to respect the grace period associated with the group.
For more information, see the description of the health check grace period for CreateAutoScalingGroup.
Trait Implementations
impl Default for SetInstanceHealthQuery
[src]
impl Default for SetInstanceHealthQuery
fn default() -> SetInstanceHealthQuery
[src]
fn default() -> SetInstanceHealthQuery
Returns the "default value" for a type. Read more
impl Debug for SetInstanceHealthQuery
[src]
impl Debug for SetInstanceHealthQuery
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 SetInstanceHealthQuery
[src]
impl Clone for SetInstanceHealthQuery
fn clone(&self) -> SetInstanceHealthQuery
[src]
fn clone(&self) -> SetInstanceHealthQuery
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)
Performs copy-assignment from source
. Read more
impl PartialEq for SetInstanceHealthQuery
[src]
impl PartialEq for SetInstanceHealthQuery
fn eq(&self, other: &SetInstanceHealthQuery) -> bool
[src]
fn eq(&self, other: &SetInstanceHealthQuery) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SetInstanceHealthQuery) -> bool
[src]
fn ne(&self, other: &SetInstanceHealthQuery) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SetInstanceHealthQuery
impl Send for SetInstanceHealthQuery
impl Sync for SetInstanceHealthQuery
impl Sync for SetInstanceHealthQuery