Struct aws_sdk_ec2::types::InstanceSpecification
source · #[non_exhaustive]pub struct InstanceSpecification { /* private fields */ }
Expand description
The instance details to specify which volumes should be snapshotted.
Implementations§
source§impl InstanceSpecification
impl InstanceSpecification
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The instance to specify which volumes should be snapshotted.
sourcepub fn exclude_boot_volume(&self) -> Option<bool>
pub fn exclude_boot_volume(&self) -> Option<bool>
Excludes the root volume from being snapshotted.
sourcepub fn exclude_data_volume_ids(&self) -> Option<&[String]>
pub fn exclude_data_volume_ids(&self) -> Option<&[String]>
The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.
You can specify up to 40 volume IDs per request.
source§impl InstanceSpecification
impl InstanceSpecification
sourcepub fn builder() -> InstanceSpecificationBuilder
pub fn builder() -> InstanceSpecificationBuilder
Creates a new builder-style object to manufacture InstanceSpecification
.
Trait Implementations§
source§impl Clone for InstanceSpecification
impl Clone for InstanceSpecification
source§fn clone(&self) -> InstanceSpecification
fn clone(&self) -> InstanceSpecification
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 Debug for InstanceSpecification
impl Debug for InstanceSpecification
source§impl PartialEq<InstanceSpecification> for InstanceSpecification
impl PartialEq<InstanceSpecification> for InstanceSpecification
source§fn eq(&self, other: &InstanceSpecification) -> bool
fn eq(&self, other: &InstanceSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceSpecification
Auto Trait Implementations§
impl RefUnwindSafe for InstanceSpecification
impl Send for InstanceSpecification
impl Sync for InstanceSpecification
impl Unpin for InstanceSpecification
impl UnwindSafe for InstanceSpecification
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