Struct aws_sdk_ec2::model::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() -> Builder
pub fn builder() -> Builder
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 ==
.