Struct aws_sdk_ec2::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsOutput
source · #[non_exhaustive]pub struct ModifyInstanceMaintenanceOptionsOutput {
pub instance_id: Option<String>,
pub auto_recovery: Option<InstanceAutoRecoveryState>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The ID of the instance.
auto_recovery: Option<InstanceAutoRecoveryState>
Provides information on the current automatic recovery behavior of your instance.
Implementations§
source§impl ModifyInstanceMaintenanceOptionsOutput
impl ModifyInstanceMaintenanceOptionsOutput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance.
sourcepub fn auto_recovery(&self) -> Option<&InstanceAutoRecoveryState>
pub fn auto_recovery(&self) -> Option<&InstanceAutoRecoveryState>
Provides information on the current automatic recovery behavior of your instance.
source§impl ModifyInstanceMaintenanceOptionsOutput
impl ModifyInstanceMaintenanceOptionsOutput
sourcepub fn builder() -> ModifyInstanceMaintenanceOptionsOutputBuilder
pub fn builder() -> ModifyInstanceMaintenanceOptionsOutputBuilder
Creates a new builder-style object to manufacture ModifyInstanceMaintenanceOptionsOutput
.
Trait Implementations§
source§impl Clone for ModifyInstanceMaintenanceOptionsOutput
impl Clone for ModifyInstanceMaintenanceOptionsOutput
source§fn clone(&self) -> ModifyInstanceMaintenanceOptionsOutput
fn clone(&self) -> ModifyInstanceMaintenanceOptionsOutput
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 PartialEq<ModifyInstanceMaintenanceOptionsOutput> for ModifyInstanceMaintenanceOptionsOutput
impl PartialEq<ModifyInstanceMaintenanceOptionsOutput> for ModifyInstanceMaintenanceOptionsOutput
source§fn eq(&self, other: &ModifyInstanceMaintenanceOptionsOutput) -> bool
fn eq(&self, other: &ModifyInstanceMaintenanceOptionsOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ModifyInstanceMaintenanceOptionsOutput
impl RequestId for ModifyInstanceMaintenanceOptionsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for ModifyInstanceMaintenanceOptionsOutput
Auto Trait Implementations§
impl RefUnwindSafe for ModifyInstanceMaintenanceOptionsOutput
impl Send for ModifyInstanceMaintenanceOptionsOutput
impl Sync for ModifyInstanceMaintenanceOptionsOutput
impl Unpin for ModifyInstanceMaintenanceOptionsOutput
impl UnwindSafe for ModifyInstanceMaintenanceOptionsOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more